#include<stdio.h>
int main()
{
int a = 10,x;
x = (a--) + (++a);
printf("%d", x);
}
I have tried to run the above program it gives me 22 in visual studio and 20 in oline complier. How does the statement is working
#include<stdio.h>
int main()
{
int a = 10,x;
x = (a--) + (++a);
printf("%d", x);
}
I have tried to run the above program it gives me 22 in visual studio and 20 in oline complier. How does the statement is working