Vidyalelo
C Programming · Q93

Control Structures

Programming · C Programming · question 93

Q93

What will be the output of the following C code? #include int main() int x = 0; if (x++) printf("true "); else if (x == 1) printf("false ");

A.
true
B.
false
Answer
C.
compile time error
D.
undefined behaviour

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board