Chapter 5 Quiz Starting Out With C++ 006

Given that x is 5 and y is 4 what will this code segment produce

z = ++(x + y);

a. 11
b. 10
c. a syntax error
d. a compilation error

No comments:

Post a Comment