What will be the output of the following program?

1.7 What will be the output of the following program?
void main ( )
{
int count = 5;
while (count)
printf(“%d”, count--);
}
A) 5 5 5 5 5
B) 5
C) 5 4 3 2 1
D) 0 0 0 0 0


Leave a Reply