+ 1

while loop

i am curious about the infinite condition in the while loop, is there any way to weaponize this like a sort of buffer overflow or something.pls pm me if you have any idea https://code.sololearn.com/cgJUiSQwVvPO/?ref=app

25th Sep 2020, 5:35 PM
Th3hunt3r
Th3hunt3r - avatar
1 Odpowiedź
+ 3
for a while loop we must add a condition to stop it . otherwise it runs continuously and overflow occurs. In your programe you have to add a condition to stop the loop kind of break statement depending on number of times you want the output
25th Sep 2020, 7:42 PM
Kavya
Kavya - avatar