+ 9
a=++a + a++; step 1:a=2 + a++;//first pre increment 1->2 step 2:a=2 + 2;//after pre increment then faced post increment thats why no change at this position only sit 2 step 3:a=4//in this step 4->5 cause earlier post increment answer is 5 i think this is the process
14th Feb 2018, 5:14 PM
Scooby
Scooby - avatar