What will be the output of the following C code?
#include <stdio.h>
void main()
{
int x = 5;
if (x < 1);
printf("Hello");
}
#include <stdio.h>
void main()
{
int x = 5;
if (x < 1);
printf("Hello");
}A. Nothing
B. Run time error
C. Hello
D. Varies
Answer: Option C

Join The Discussion