BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25%
- Ends In
00:00:00
Coupon code:
SAVE25
X
Welcome to Pass4Success
Login
|
Sign up
-
Free
Preparation Discussions
Mail Us
support@pass4success.com
Location
US
MENU
Home
Popular vendors
Salesforce
Microsoft
Nutanix
Amazon
Google
CompTIA
SAP
VMware
Fortinet
PeopleCert
Eccouncil
HP
Palo Alto Networks
Adobe
ServiceNow
Dell EMC
CheckPoint
Linux Foundation
Discount Deals
New
About
Contact
Login
Sign up
Home
Discussions
C++ Institute Discussions
Exam CPA-21-02 Topic 8 Question 22 Discussion
C++ Institute Exam CPA-21-02 Topic 8 Question 22 Discussion
Actual exam question for C++ Institute's CPA-21-02 exam
Question #: 22
Topic #: 8
[All CPA-21-02 Questions]
What is the expected output of the following program?
A
It prints: 432
B
It prints: 321
C
It prints: 4321
D
It prints: 3210
Show Suggested Answer
Hide Answer
Suggested Answer:
B
by
Graham
at
Aug 04, 2024, 10:58 AM
Limited Time Offer
25%
Off
Get Premium CPA-21-02 Questions as Interactive Web-Based Practice Test or PDF
Contribute your Thoughts:
Submit
Cancel
Elmer
2 months ago
I think the answer is C) It prints: 4321 because of the order of operations.
upvoted
0
times
...
Louvenia
2 months ago
But if you look closely at the code, it should print 432.
upvoted
0
times
...
Madonna
2 months ago
I disagree, I believe the answer is B) It prints: 321.
upvoted
0
times
...
Jade
3 months ago
Ooh, this is a tough one. I'll have to go with A - '432'. But I'm kinda hoping for a plot twist, like the program printing out a secret message or something.
upvoted
0
times
...
Aide
3 months ago
Pfft, easy peasy. The answer is clearly D - '3210'. What, did they think we'd fall for those other options? *chuckles*
upvoted
0
times
...
Francine
3 months ago
Whoa, this is tricky. My money's on B - '321'. But I'm kind of hoping for a surprise, like a magic trick or something.
upvoted
0
times
Adelle
2 months ago
I'm going with C) 4321
upvoted
0
times
...
Herminia
2 months ago
I think it's A) 432
upvoted
0
times
...
...
Louvenia
3 months ago
I think the answer is A) It prints: 432.
upvoted
0
times
...
Felton
3 months ago
Hmm, looks like a fun exercise in reverse printing! I'm going to go with option C - '4321'.
upvoted
0
times
Hermila
3 months ago
I agree, the output should be: 4321
upvoted
0
times
...
Alison
3 months ago
I believe it prints: 4321
upvoted
0
times
...
Elliot
3 months ago
I think it prints: 4321
upvoted
0
times
...
...
Log in to Pass4Success
×
Sign in:
Forgot my password
Log in
Report Comment
×
Is the comment made by
USERNAME
spam or abusive?
Commenting
×
In order to participate in the comments you need to be logged-in.
You can
sign-up
or
login
Save
Cancel
Elmer
2 months agoLouvenia
2 months agoMadonna
2 months agoJade
3 months agoAide
3 months agoFrancine
3 months agoAdelle
2 months agoHerminia
2 months agoLouvenia
3 months agoFelton
3 months agoHermila
3 months agoAlison
3 months agoElliot
3 months ago