Infogain Interview Question

Write the output of the code:

Interview Answers

Anonymous

Sep 28, 2017

int a=49; a=a++; b=a×2; b=(b--)-(a++); ... some more lines including increment/decrement operator printf("%d %d", a, b);

Anonymous

Mar 30, 2018

i think compile-time error b data type not declare . if program like this int a=49; int b; a=a++; b=a*2; b=(b--)-(a++); ... some more lines including increment/decrement operator printf("%d %d", a, b); ans ;- a=50(a++value) b=49(b-- value)