Vidyalelo
C Programming · Q59

C Fundamentals

Programming · C Programming · question 59

Q59

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
Answer
B.
5
C.
0
D.
Varies

Answer: Option A

Solution

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