Vidyalelo
C Programming · Q289

C Fundamentals

Programming · C Programming · question 289

Q289

What will be the output of the following C code? #include int main() int x = 0, y = 2; if (!x && y) printf("true "); else printf("false ");

A.
True
Answer
B.
False
C.
Compile time error
D.
Undefined behaviour

Answer: Option A

Solution

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