hai in gcc compiler of fedora 14
int main()
{
int a=4;
printf("%d %d %d %d",++a,++a,++a,++a);
return 0;
}
o/p 7 7 7 7
but if i replace ++a with a++ in above expn i am getting o/p as 7 6 5 4
why ?? can u explain ?????
thanks in advance.......
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.