1.

What will be the output of the following C code?
#include <stdio.h>
void main()
{
int n = 2;
if (n == 2)
printf("Hey ");
else
printf("How are u? ");
printf("Hello ");
}

A. Hey
B. Hello
C. Hey Hello
D. Hey Hello How are u?
E. Hey How are u? Hello
Answer» D. Hey Hello How are u?


Discussion

No Comment Found

Related MCQs