Hi.
When I execute this program I get output of j as 20. Why it is not 21? Can anyone explain. Thanks.
Code:int main(){ int i =10; int j; j = (i++ + i++); printf("%d",j); getch(); }
Hi.
When I execute this program I get output of j as 20. Why it is not 21? Can anyone explain. Thanks.
Code:int main(){ int i =10; int j; j = (i++ + i++); printf("%d",j); getch(); }