Which programming construct allows the execution of a block of code multiple times based on a condition?

  • Array
  • Function
  • Loop
  • Pointer
In programming, a 'loop' is a control structure that allows you to execute a block of code repeatedly as long as a certain condition is met. Loops are essential for tasks that require repetitive execution, such as iterating through data or performing calculations multiple times.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *