pEOPLE who know C or c++ plz help me
int a=10,s;
s= ++a + a++ + --a + a--;
what would be the poutput for s??
according to me it should be 44 but when i run this code in C it displays 40...
why is it so... plz anybdy help me to understand that?
but if i use this
int a=10,s...
int a=10,s;
s= ++a + a++ + --a + a--;
what would be the poutput for s??
according to me it should be 44 but when i run this code in C it displays 40...
why is it so... plz anybdy help me to understand that?
but if i use this
int a=10,s;
printf("%d",++a + a++ + --a + a--);
this code...
Hi Guest we just wanted to alert you to a major change in the forum. We will no longer be allowing the posting of outgoing links. Please use the attachment feature to attach media to your posts.