Simple C question
Posted on 2004-08-05
below is a very simple C code,
printf ("\n%d %d %d ",x,y,z);
i got the output as 2, 3, 3. I am just wondering how did i get 2 for x. If it is because of --x and x--, then how i got z=3?
Could anyone explain this please. i appreciate the help. and thanks in advance.
considor, novice in C so pls explain in a simple way.