0
Why is the initialization statement for "for loop" executs only once?
2 Answers
0
Mam
when u observe the syntĂ x of for loop
we are assigning some value to the variable at first
Then we are checking the condition
if it is satisfied then the value is decreased or increased
The value again is assign to the variable
It continues till the condition fail
so we can't assign till the condition doesn't fail