what is Null loop and give a example of it?
Answers
Answered by
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
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
English,
4 months ago
Environmental Sciences,
4 months ago
Hindi,
8 months ago
Math,
11 months ago
History,
11 months ago