#include<stdio.h>
int main()
{
int i = 1;
do
{
printf("Hello\n");
continue; -------------------------------------------line:2
i--;
}while(i>=1); --------------------------------------- line:4
return 0;
}
yes, it will be infinite loop because , we know that do... while loop must at least for 1 time. and line 2, continue statement is written, so whatever below continue statement will not be executed., each time when continue statement will hit, flow of execution of program will goes on start of do while loop.. Program is never going to be terminate because condition written line:4 never execute. So program will be in infinite loop.....