What is the initial statement in a for loop typically used for? 

  • Incrementing 
  • Condition check 
  • Initialization 
  • Loop termination
In a for loop, the initial statement is typically used for initialization purposes. This is where variables, often loop counters, are initialized before the loop begins its execution.
Add your answer
Loading...

Leave a comment

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