What will be the output of the following C code?
#include <stdio.h>
void main()
{
int i = 0;
do
{
printf("Hello");
} while (i != 0);
}
#include <stdio.h>
void main()
{
int i = 0;
do
{
printf("Hello");
} while (i != 0);
}
A. Nothing
B. H is printed infinite times
C. Hello
D. Run time error
Answer: Option C
Join The Discussion