Chapter 3 Quiz Starting Out With C++ 027

 What does the value of x in the code fragment below?

c = 5;
x = 5 * (c++);

a. 6
b. 25
c. 30
d. 0 (since c++ has not been defined

No comments:

Post a Comment