C - Loops
Identify the error in this loop:
int i = 0;
while (i < 5);
{
printf("%d ", i);
i++;
}int i = 0;
while (i < 5);
{
printf("%d ", i);
i++;
}while (i < 5); ends loop prematurely, creating an empty loop.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions