+ 1

Why output of code 'cout<<a<<++a<<a;' in c++ is 666 where a=5

according to me it should be 566 please explain it

16th Feb 2018, 1:03 PM
Sunil Solanki
Sunil Solanki - avatar
3 Answers
0
What is the value of a?
16th Feb 2018, 1:31 PM
Nitzan
Nitzan - avatar
0
thanks for clearing my doubt guys
16th Feb 2018, 7:08 PM
Sunil Solanki
Sunil Solanki - avatar