Computer Science, asked by shivangisaxena034, 3 months ago

1. #include <stdio.h>
int main()
{
int x=3,z;
Z=x---111;
printf("x= %d z= %d\n",x,z);
return 0;
}
A. x=3 z=108
B. x= 2 z= -108
C. x= 3 z=-108
D. x=2 z=108​

Answers

Answered by yesiamin6
0

Answer:

Ans will be B

Explanation:

As we are post decrementing the x value so it first evulates as 3 in z expression and then will be decreased to 2

So the z will be 3-111=-108

And then x will be 2

HOPE IT HELPS YOU

DO FOLLOW FOR MORE ANSWERS

MARK AS BRAINLIEST

Similar questions