1.

What will be the output of the following C code?
 #include <stdio.h>
void main()
{
int L = 6;
int a = 5;
int b = L < a ? L++ : a++;
printf("%d", b);
}

A. Compilation Error
B. 5
C. 6
D. Runtime Error
E. None of these
Answer» C. 6


Discussion

No Comment Found

Related MCQs