1. The output of the code below is #include <stdio.h> void main() { int k = 8; int m = 7; k < m ? k++ : m = k; printf(”%d”, k); } a) 7 b) 8 c) Compile time error d) Run time error AnswerAnswer: c [Reason:] None. 2. The output of the code…
1. The output of the code below is #include <stdio.h> void main() { int k = 8; int m = 7; k < m ? k++ : m = k; printf(”%d”, k); } a) 7 b) 8 c) Compile time error d) Run time error AnswerAnswer: c [Reason:] None. 2. The output of the code…