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

Which loop is good for programming?

1 Answer

0 votes
by (3.4k points)
selected by
 
Best answer
It depends on the programming need, we can not say which is best to use. Where condition checking is required before body execution, just use for or while. And when condition is not required to check before body execution, just use do while.

Related questions

+1 vote
1 answer 410 views
+1 vote
1 answer 396 views
asked Jun 18, 2022 in C program by laxman Ji (3.4k points)
0 votes
1 answer 384 views
asked May 14, 2022 in C program by Doubtly (98.9k points)
0 votes
1 answer 364 views
+1 vote
1 answer 349 views
asked Jun 18, 2022 in C program by laxman Ji (3.4k points)
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

Doubtly Earned a badge
Doubtly Earned a badge
Doubtly Earned a badge

5.7k questions

5.1k answers

108 comments

650 users

...