How do we break from an infinite loop without keeping a break statement within the loop?
How do we break from an infinite loop without keeping a break statement within the loop? Correct Answer Press Ctrl+C
If we begin an infinite loop, by choice or as a silly mistake, we can terminate the loop manually if we forget to introduce a break statement as necessary. We can choose to press Ctrl + C and the loop will get terminated at the same instant.
মোঃ আরিফুল ইসলাম
Feb 20, 2025
