1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
int k = 2;
if (k++ && (k == 3))
{
printf("Yes n");
}
else
{
printf("No n");
}
}

A. No
B. Compilation Error
C. 3
D. Yes
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs