+1 vote
392 views
in C program by (3.4k points)
edited

Can we use continue statement without using loop?

1 Answer

0 votes
by (3.4k points)
selected by
 
Best answer

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".

Related questions

+1 vote
1 answer 365 views
+1 vote
1 answer 388 views
0 votes
1 answer 487 views
0 votes
1 answer 338 views
0 votes
1 answer 325 views
0 votes
1 answer 410 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

Recent Badges

MrRam Earned a badge
Ritesh Maurya Earned a badge
Ritesh Maurya Earned a badge

5.7k questions

5.1k answers

108 comments

648 users

...