0

What will happen if we run a for loop outside an infinite for loop?

For loop(finite) : For loop(infinite) : Condition(true)

4th Jun 2017, 8:11 PM
Shudhanshu Kumar
Shudhanshu Kumar - avatar
3 Antworten
+ 1
The first time the outside loop runs and calls the inside loop it will run infinitely
4th Jun 2017, 8:31 PM
LordHill
LordHill - avatar
0
DO NOT DO THAT!!! It will shatter all laws of time and space and create a tear in the space time continuum which will open a black hole. The black hole will then consume earth and spit it back out 239.5 billion light years away into another galaxy. Its a very hostile galaxy. There are 14 different factions and they are engaged in endless war. We would have no choice but to pick a side and most likely meet our doom due to our outdated technology. Even if we stood any chance at war we would still be exposed to the deadly Flying Space Pig Flu. Its a flu that turns humans into pigs with wings. The infected human/space pig then uncontrollably flies 750 feet into the air at which point they go into a full on nose dive aiming for the first uninfected human they see. Upon impact both the infected and uninfected are killed. The impact has so much force that the blood sprays into the air as a fine mist which then spreads the flu for miles. And if the Flying Space Pig Flu happens to infect a chicken or a beaver... oh brother... we just wont go there. its too much to even think about.. Just dont do it.
4th Jun 2017, 11:10 PM
Spock
Spock - avatar
0
Lmao 😂😂😂
5th Jun 2017, 2:50 AM
Shudhanshu Kumar
Shudhanshu Kumar - avatar