Which code will not execute infinitely?

1
while(-1) { printf(“1”);}
2
while(1) { printf(“1”); }
3
while(0) { printf(“1”); }
4
while(2) { printf(“1”); }
5
None of these

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation