Multiple Choice
Suppose sum, num, and j are int variables, and the input is 4 7 12 9 -1. What is the output of the following code? 
A) 24
B) 25
C) 41
D) 42
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: Which executes first in a do...while loop?<br>A)
Q2: Assume that all variables are properly declared.
Q3: What is the initial statement in the
Q8: What is the output of the following
Q9: In a while and for loop, the
Q11: What is the output of the following
Q13: A loop that continues to execute endlessly
Q15: In a counter-controlled while loop, the loop
Q30: A semicolon at the end of the
Q35: The _ statement can be used to