Deal of The Day! 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 3 Question 34 Discussion

Actual exam question for C++ Institute's CPA-21-02 exam
Question #: 34
Topic #: 3
[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:

Louann
3 days ago
I disagree, I believe the answer is B) It prints: 321
upvoted 0 times
...
Maurine
7 days ago
Haha, I bet the answer is D) It prints: 3210. Who writes programs that reverse the order of digits anyway? What a silly question!
upvoted 0 times
...
Fernanda
14 days ago
I think the answer is B) It prints: 321. The program is only reversing the first three digits, not the entire number.
upvoted 0 times
...
Ming
18 days ago
The correct answer is C) It prints: 4321. The program is simply reversing the order of the digits, so the output should be 4321.
upvoted 0 times
...
Delmy
18 days ago
I think the answer is A) It prints: 432
upvoted 0 times
...

Save Cancel