Examveda

What is the output of the following code: int x = 10; cout << "Value of x is: " << x++ << endl;?

A. Value of x is: 11

B. Value of x is: 9

C. Compilation error

D. Value of x is: 10

Answer: Option D


Join The Discussion

Related Questions on Introduction to C plus plus