Q125
What will be the output of the following C code? #include void main() int k = 8; int m = 7; int z = k < m ? k = m : m++; printf("%d", z);
A.
Run time error
B.
7
AnswerC.
8
D.
Depends on compiler
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board