Vidyalelo
C Programming · Q255

C Fundamentals

Programming · C Programming · question 255

Q255

What will be the output of the following C code? #include void main() int x = 1, y = 0, z = 5; int a = x && y && z++; printf("%d", z);

A.
6
B.
5
Answer
C.
0
D.
Varies

Answer: Option B

Solution

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