Vidyalelo
C Programming · Q90

C Fundamentals

Programming · C Programming · question 90

Q90

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

A.
3
Answer
B.
0
C.
2
D.
Run time error

Answer: Option A

Solution

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