1.

What will be the output of the following C code?
#include <stdio.h>
void main()
{
int num1 = 12;
int num2 = 10;
int num3 = num1 < num2 ? num1 = num2 : num2++;
printf("%d", num3);
}

A. Compilation Error
B. 12
C. Runtime Error
D. 10
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs