#include<studio.h>
int main ()
{
int i = 1 ;
printf("%d %d %d",i,++i,i++);
return 0;
}
I thought I would get the answer of the code written above is 1 2 2 . But my compiler showing me the answer 3 3 1 .. Why ?
#include<studio.h>
int main ()
{
int i = 1 ;
printf("%d %d %d",i,++i,i++);
return 0;
}
I thought I would get the answer of the code written above is 1 2 2 . But my compiler showing me the answer 3 3 1 .. Why ?