What is the default value of step clause?
Answers
Answered by
21
step is the value by which the counter variable is incremented or decremented each time the loop body is executed. The step value can be positive or a negative value but it cannot be zero. The step value is optional. If not specified, step defaults to one.
Answered by
8
Answer:
In a loop statement, step is the value by which the counter variable is incremented or decremented each time the loop body is executed. The step value can be positive or a negative value but it cannot be zero. The step value is optional. If not specified, step defaults to one.
hope this helps u
mark me as brainliest....
Similar questions
English,
5 months ago
Accountancy,
5 months ago
Environmental Sciences,
5 months ago
Hindi,
10 months ago
Physics,
1 year ago