What is the result? Given the following main method: What is the result? Given the following main method: What is the result? A. 5 4 3 2 1 0 B. 5 4 3 2 1 C. 4 2 1 D. 5 E. Nothing is printed Show Hint ← Previous question Next question →
mrtsilva Correct Answer : D Init with 5 Print with 5 Check if num is equal to 0 is false then exit. Don’t print anything more. Reply
Correct Answer : D
Init with 5
Print with 5
Check if num is equal to 0 is false then exit. Don’t print anything more.
Definitely Option D.
D
Answer: D
Tested
d
D-5