Please read the guide .
Please answer the question in detail
No, continue statement can only be used within the loops only, it can be any loop while, do while or for. If we use continue statement without using loop , there will be a compiler error "misplaced continue".
Doubtly is an online community for engineering students, offering:
Get the pro version for free by logging in!
5.7k questions
5.1k answers
108 comments
561 users