1.

Consider the following program fragment: main() { int a,b,c; b=2; a=2*(b++); c=2*(++b); } Which one of the given answers in correct?

A. a=4, c=6
B. a=3, c=8
C. b=3, c=6
D. a=4, c=8
Answer» E.


Discussion

No Comment Found