1.

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

A. 0
B. 2
C. 6
D. 7
E. None of these
Answer» D. 7


Discussion

No Comment Found

Related MCQs