0 votes
in JavaScript by (23.1k points)
What are the three important manipulations for a loop on a loop variable?

a) Updation, Incrementation, Initialization

b) Initialization, Testing, Incrementation

c) Testing, Updation, Testing

d) Initialization, Testing, Updation

1 Answer

0 votes
by (19.8k points)

Answer: D

Reason: In the "For" loop statement, the Initialization, Testing, and Updating(and in the same order) are the most significant manipulations. First of all, the Initialization of the variable is done, then the condition gets tested, and after executing the code written in between curly braces, variable's value gets incremented.

Related questions