-
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");
}
-
- Compilation Error
- Inside if block executed...
- Inside else if block executed...
- Runtime Error
- None of these
Correct Option: B
Inside if block executed...