tikekeguer5528 tikekeguer5528
  • 13-07-2019
  • Computers and Technology
contestada

Something within a while loop must eventually cause the condition to become false, or a(n) __________ results.



1. null value

2. infinite loop

3. unexpected exit

4. compiler error

5. None of these

Respuesta :

Limosa
Limosa Limosa
  • 21-07-2019

Answer: Infinite loop

Explanation:

A while loop terminates when the condition within the loop becomes false else the it will continue to loop for ever and thereby lead to memory overflow.

example : while(i<10)

                      {  print("hello");

                        }

  here if value of i <10 then it will print hello, but if there is no condition it will lead to an infinite loop. example : while();

Answer Link

Otras preguntas

Use one unit multiplier to convert 100 centimeters to square inches
what is Coperican theory ?​
The United States has moved from a culture of individual researchers making discoveries to one of huge teams of highly educated and well-compensated experts try
PLS HELP ME!!!!!!!!!!!
quien qu i ere j u g ar ro blo x conmigo?
In a race at the track meet, Rosa finished in 7.5 minutes and Chad finished in 8.25 minutes. How much more time did it take Chad to finish the race than Rosa?
based on this model, which price would generate more revenue for the company, $5 or $17? explain how you know?
How would you write 0.07 as a percent?
Will give brainliest!!!!! And help it is scattered plots and please do what the question is asking Thank you. <3
B is the midpoint of AC. AB = X + 6 and AC = 3x - 1. Find X.