Join WhatsApp ChannelDaily MCQs & Exam Updates

What is the purpose of a 'loop' in programming?

  • A Design interfaces
  • B Connect to internet
  • C Store data
  • D Repeat a block of code multiple times
Correct Answer: Option D — Repeat a block of code multiple times
Explanation:
A loop in programming is a control structure used to repeat a block of code multiple times, based on a specified condition, until the condit...
Submitted by: PaperMCQs
Related MCQs