MCQ Single Best Answer Easy

QIn a for loop, which part is optional?

ID: #15971 C Language Loop Control 125 views
Question Info
#15971Q ID
EasyDifficulty
C Language Loop ControlTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Initialization
  • B Condition
  • C Increment/Decrement
  • D All parts are mandatory
Correct Answer: Option C

Explanation

While initialization and condition are mandatory in a for loop, the increment or decrement part is optional.

Share This Question

Challenge a friend or share with your study group.