Computer Science, asked by rony873, 8 months ago

what is Null loop and give a example of it?​

Answers

Answered by ravisimsim
5

Answer:

Here is an example of a null loop: for (x=0; x<500000; x++); Notice that in this example, a semicolon is placed directly after the closing parenthesis of the for loop. ... Putting the semicolon directly after the for loop (and using no braces) creates a null loop—literally, a loop that contains no programming statements.

Ur answer is here.....!!!!!

Plz Mark as brainliest....!!!!

Answered by dewanganajay1875
7

Here is an example of a null loop for (x=0; x<500000; x++).Notice that in this example, a semicolon is placed directly after the closing parenthesis of the for loop. Putting the semicolon directly after the for loop (and using no braces) creates a null loop—literally, a loop that contains no programming statements.

If you like my answer please mark me as brainliest. . . . .

Similar questions