Q50
Consider the following program fragment, and choose the correct one. void main() int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);
A.
a = 4, c = 8
AnswerB.
a = 3, c = 8
C.
b = 3, c = 6
D.
a = 4, c = 6
E.
b = 4, c = 6
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board