What will be the output of the following program on GCC compiler?

Loading

โœช Choose the correct option.

What will be the output of the following program on GCC compiler?

#include  
int main() {
int i = 5;
while(i-- >= 0)
printf("%d,", i);
i = 5;
printf(" ");
while(i-- >= 0)
printf("%i,", i);
while(i-- >= 0)
printf("%d,", i);
return 0;
}

A. 4, 3, 2, 1, 0, -1,
4, 3, 2, 1, 0, -1,
B. 5, 4, 3, 2, 1, 0
5, 4, 3, 2, 1, 0
C. 5, 4, 3, 2, 1, 0
5, 4, 3, 2, 1, 0
5, 4, 3, 2, 1, 0
D. Error