Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

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
...
...

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  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77