int x=1; x++++; cout<<x; | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

int x=1; x++++; cout<<x;

what is the value of x

30th Jun 2016, 12:55 PM
yasir bashir
yasir bashir - avatar
2 Answers
0
sorry I corrected
30th Jun 2016, 1:15 PM
yasir bashir
yasir bashir - avatar
0
it will give u compile time error.
30th Jun 2016, 2:05 PM
Devi Hota