Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 15
++x is pre increment expression which means first increment the value then use it x++ is post increment expression which means first use the value the do increment in it so, the output will be like 11 but this code will generate error messages 1st of cout.>>++x 2nd of coutx++
12th Mar 2017, 7:22 PM
Mansi Dagla
Mansi Dagla - avatar