1.

What will be the output of the following C code? #include <stdio.h> void main() { int k = 8; int m = 7; int z = k < m ? k = m : m++; printf("%d", z); }

A. Run time error
B. 7
C. 8
D. Depends on compiler
Answer» C. 8


Discussion

No Comment Found

Related MCQs