When following piece of code is executed, what happens? b = 3; a = b++;
A. a contains 3 and b contains 4.
B. a contains 4 and b contains 4.
C. a contains 4 and b contains 3.
D. a contains 3 and b contains 3.
Answer:A
When following piece of code is executed, what happens? b = 3; a = b++;
A. a contains 3 and b contains 4. B. a contains 4 and b contains 4. C. a contains 4 and b contains 3. D. a contains 3 and b contains 3.