When the following piece of code is executed, what happens?

1.5 When the 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

Leave a Reply