what is the output of following c program
#include
int main() {
int x=1;
printf("%d %d %d", x, x++, ++x);
return 0;
}
and reason in detail
Answers
Answered by
0
Answer:
1 2 2
Explanation:
x=1
X++ = x+1 = 1+1 = 2
++X = 1+x = 1+1 = 2
fazeelkhalid9:
are you programmer
Similar questions