0
What is the output of the following code?
#include <stdio.h>
int main() {
int i = 5;
do {
printf("%d ", i);
i--;
} while (i > 5);
return 0;
}- ANo output printed
- BInfinite loop
- C5 4 3 2 1
- D5
Correct answer: D
#include <stdio.h>
int main() {
int i = 5;
do {
printf("%d ", i);
i--;
} while (i > 5);
return 0;
}