-
What are the three important manipulations done in a for loop on a loop variable?
-
- Initialization,Testing, Incrementation
- Testing, Updation, Testing
- Updation, Incrementation, Initialization
- Initialization,Testing, Updation
- None of these
Correct Option: D
In a for loop, the initialization, the test, and the update are the three crucial manipulations of a loop variable. Firstly the loop initialiases the variable then test the condition and then after executing the statement increments its value.