+1 vote
151 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 202 views
+1 vote
1 answer 182 views
asked Jun 18, 2022 in C program by laxman Ji (3.4k points)
0 votes
1 answer 168 views
asked May 14, 2022 in C program by Doubtly (98.9k points)
0 votes
1 answer 183 views
+1 vote
1 answer 157 views
asked Jun 18, 2022 in C program by laxman Ji (3.4k points)
0 votes
1 answer 199 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!

5.7k questions

5.1k answers

108 comments

606 users

...