+1 vote
264 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 354 views
+1 vote
1 answer 341 views
asked Jun 18, 2022 in C program by laxman Ji (3.4k points)
0 votes
1 answer 329 views
asked May 14, 2022 in C program by Doubtly (98.9k points)
0 votes
1 answer 311 views
+1 vote
1 answer 289 views
asked Jun 18, 2022 in C program by laxman Ji (3.4k points)
0 votes
1 answer 359 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

648 users

...