1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
int n = 5;
if (n > 1)
printf("Inside if block executed... n");
else if (n > 1)
printf("Inside else if block executed... n");
}

A. Compilation Error
B. Inside if block executed...
C. Inside else if block executed...
D. Runtime Error
E. None of these
Answer» C. Inside else if block executed...


Discussion

No Comment Found

Related MCQs