Vidyalelo
C Programming · Q223

C Fundamentals

Programming · C Programming · question 223

Q223

What will be the output of the following C code? #include int main() int x = 1, y = 0, z = 3; x > y ? printf("%d", z) : return z;

A.
3
B.
1
C.
Compile time error
Answer
D.
Run time error

Answer: Option C

Solution

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