Which type of loop is commonly used to iterate through an array in C?

  • AIf loop
  • BSwitch loop
  • CFor loop
  • DWhile loop
Show answerHide answer

Correct answer C

In C, the For loop is commonly used to iterate through an array because it allows for easy initialization, condition checking, and incrementing/decrementing of the loop counter. The syntax of a For loop is designed to handle array indexing and iteration naturally.