+ 1

my ques is related to cascading of operators

If a=3 then how will be the output of "cout <<a++<<++a;" came as "45"

20th Sep 2016, 5:33 AM
Mayank
1 Respuesta
0
operator ++, -- are very confusing in such situations you can get more info about it here: http://stackoverflow.com/questions/4176328/undefined-behavior-and-sequence-points
21st Sep 2016, 6:51 PM
Artur Dębkowski
Artur Dębkowski - avatar