what is the output of this. .... const int x=5; cout<<x++; cout<<++x; ..... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is the output of this. .... const int x=5; cout<<x++; cout<<++x; .....

23rd Jul 2016, 8:25 AM
Darsh Shah
Darsh Shah - avatar
6 Answers
+ 1
correct constant should not be changed
23rd Jul 2016, 5:07 PM
Bala Subramaniam S K
Bala Subramaniam S K - avatar
0
compile error x should not be changed
23rd Jul 2016, 8:37 AM
zhou bin
zhou bin - avatar
- 1
OK
23rd Jul 2016, 8:40 AM
Darsh Shah
Darsh Shah - avatar
- 1
thanks😊
23rd Jul 2016, 8:40 AM
Darsh Shah
Darsh Shah - avatar
- 1
0
23rd Jul 2016, 8:59 AM
Vanya
- 2
5
24th Jul 2016, 6:09 AM
Ashok Chakri
Ashok Chakri - avatar