1.

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

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


Discussion

No Comment Found

Related MCQs