0 votes
in JavaScript by
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

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

0 votes
asked Oct 10, 2022 in JavaScript by SakshiSharma
+1 vote
asked Mar 5, 2021 in D Programming by SakshiSharma
...