+ 6
https://www.sololearn.com/discuss/489143/?ref=app int i=1;// assigned 1 to I initially i=++i+i++; cout<<I; first ++i=i+1=1+1=2 so now the value of i become 2 then i++=i+1=2+1=3 so finally i=++i + i++=2+3=5 so output is 5 pre increment first increment the value then store
13th Dec 2017, 11:46 AM
GAWEN STEASY
GAWEN STEASY - avatar