What is the output of the following code?
int i = 1 ;
while ( i <= 10 )
printf ( "%d\n", i );

1
10 9 8 7 6 5 4 3 2 1
2
1 2 3 4 5 6 7 8 9 10
3
0 1 2 3 4 5 6 7 8 9
4
Infinite loop

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation