Computer Science, asked by leelavatidevadiga456, 11 months ago

How many times 'Hi' wil be printed in the program given below. #include
int i;
int fun();
int main()
{
while (i)
{
fun();
main();
}
printf("Hello \n");
return 0;
}
int fun()
{
printf("Hi");
}
a)only once
b)zero times
c)infinite times
d)compilation error

Answers

Answered by divya9549
0

Answer:

only one time...........

Answered by anjalibanode9457
2

Answer:

Hey your answer is compilation error....

Similar questions