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

What is the additive inverse of 4x
i dont get what evaluate 11.4n when n=5,n=6.5,and n=10.Please help
I really need help on geometry
if you flip the coins 1000 times, what fraction do you expect would come up as:2 heads?2 tails?1 head and 1 tail?PLEASE HELP!!!!!
what were some of the common occupations,cultural practice and traditions in the south Carolina  colony
if y=6x and x=1.5 find y
Mendel realized that the principles of probability could be used to (blank) the results of genetic crosses.
A writing workshop enrolls novelists and poets in a ratio of 5:3.  There are 24 people at the workshop.  How many novelists are there?  How many poets are there
who invented watermelon
There are 12 rabbits in a cage. The ratio of white rabbits to all rabbits is 3:4. How many white rabbits are in a cage?