1.

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

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


Discussion

No Comment Found

Related MCQs