1.

Write the output of the following if a=2,b=5; int a+=(a++)+(++b)+(++a)+b;​

Answer» N:-WRITE the OUTPUT of the following.Working Out:-GIVEN,a=2b=5a+=a++ + ++B + ++a + b;Or, a=2+2+6+4+6Or, a=20Now, b=6Answer:-a=20b=6


Discussion

No Comment Found