How many times will while loop be executed in the following C program.

Loading

โœช Choose the correct option.

How many times will while loop be executed in the following C program.


void main(){

x = 500;

while (x < = 500)

{

x=x-600;

if (x < 0)

break;

}

A. 0
B. 1
C. 500
D. 100

Leave a Comment