sawaak
Full Member level 2
Hi,
here is a program.
the answer i got on Turbo C compiler is
value of b is 10
Now value of b is 21.
how can it be, i m confuse
thanks
sawaak
here is a program.
Code:
void main()
{
int a = 10;
int b;
b = (a++ - --a + ++a);
printf("value of b is %d",b);
b = a + b;
printf("Now value of b is %d",b);
}
the answer i got on Turbo C compiler is
value of b is 10
Now value of b is 21.
how can it be, i m confuse
thanks
sawaak