K
khadar
Hello
I am executing the following code in both Linux,turbo C and Eclipse
IDE(in windows) 3.2 ,CDT 3.0.
code :
# include <stdio.h>
main()
{
int a=1;
a=a++ * ++a;
printf("a=%d\n",a);
}
In both Linux and turbo C ,the result is 5 but in Eclipse IDE result
is 4 , Why this happend .
Please proper clarification.
Thank you.
I am executing the following code in both Linux,turbo C and Eclipse
IDE(in windows) 3.2 ,CDT 3.0.
code :
# include <stdio.h>
main()
{
int a=1;
a=a++ * ++a;
printf("a=%d\n",a);
}
In both Linux and turbo C ,the result is 5 but in Eclipse IDE result
is 4 , Why this happend .
Please proper clarification.
Thank you.