Skip to content
Question Bank (3 marks) · Q27

Q.Briefly explain loop (iterative) control statement.

Karnataka PUCTextbookShort· 3mImportance★★★★★est
82% · 127/154 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

[!TLDR]

Loop statements (for, while, do-while) repeat a block while a condition holds; do-while runs at least once.

A loop or iterative control statement is used when a set of statements has to be executed repeatedly until a test condition fails. C provides three loops:

  1. for loop - used when the number of repetitions is known in advance; the initialisation, test and update are all written in the loop header. It is entry-controlled (condition tested before the body).
  2. while loop - used when the number of repetitions is not fixed; the condition is tested first, so it is also entry-controlled and the body may not run at all if the condition is false initially. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.