What is the output of this C code?
#include
void main()
{
int i = 0;
do
{
printf("Hello");
} while (i != 0);
}
1
Nothing
2
H is printed infinite times
3
Hello
4
Run time error
What is the output of this C code?
#include
void main()
{
int i = 0;
do
{
printf("Hello");
} while (i != 0);
}