Cyber Monday 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
PL
MENU
Home
Popular vendors
Salesforce
Microsoft
Nutanix
Cisco
Amazon
Google
CompTIA
SAP
VMware
Oracle
Fortinet
PeopleCert
Eccouncil
HP
Palo Alto Networks
Adobe
ISC2
ServiceNow
Dell EMC
CheckPoint
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
3 months ago
I think the answer is C) It prints: 4321 because of the order of operations.
upvoted
0
times
...
Louvenia
3 months ago
But if you look closely at the code, it should print 432.
upvoted
0
times
...
Madonna
3 months ago
I disagree, I believe the answer is B) It prints: 321.
upvoted
0
times
...
Jade
4 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
4 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
4 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
3 months ago
I'm going with C) 4321
upvoted
0
times
...
Herminia
3 months ago
I think it's A) 432
upvoted
0
times
...
...
Louvenia
4 months ago
I think the answer is A) It prints: 432.
upvoted
0
times
...
Felton
4 months ago
Hmm, looks like a fun exercise in reverse printing! I'm going to go with option C - '4321'.
upvoted
0
times
Hermila
4 months ago
I agree, the output should be: 4321
upvoted
0
times
...
Alison
4 months ago
I believe it prints: 4321
upvoted
0
times
...
Elliot
4 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
az-700
pass4success
az-104
200-301
200-201
cissp
350-401
350-201
350-501
350-601
350-801
350-901
az-720
az-305
pl-300
Elmer
3 months agoLouvenia
3 months agoMadonna
3 months agoJade
4 months agoAide
4 months agoFrancine
4 months agoAdelle
3 months agoHerminia
3 months agoLouvenia
4 months agoFelton
4 months agoHermila
4 months agoAlison
4 months agoElliot
4 months ago