Consider this code: "int s = 20; int t = s++ + --s;". What are the values of s and t?
.
.
Click on the title for the solution
.
.
s is 19 and t is 38
s is 20 and t is 39
s is 19 and t is 39
s is 20 and t is 38
s is 20 and t cannot be determined
.
Click on the title for the solution
.
.
This is the answer:
:
s is 19 and t is 38
s is 20 and t is 39
s is 19 and t is 39
s is 20 and t is 38
s is 20 and t cannot be determined
Comments
Post a Comment