If the while structures condition is initially false the loo

If the while structure\'s condition is initially false, the loop\'s body will not be executed.

True

False

Solution

True.

The body of while loop will run if and only if(iff) the while structure\'s condition is true.

In programming, true is represented as binary digit \'1\' and false as binary digit \'0\'.

For an infinite loop, we set the while structure\'s condition as always true.

while(1){

stmnt1;

stmnt2;

}

The above loop is infinite loop.

If the while structure\'s condition is initially false, the loop\'s body will not be executed. True FalseSolutionTrue. The body of while loop will run if and on

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site