Computer Science, asked by ritujain2595, 7 months ago

The default STEP value is ?

Answers

Answered by Anonymous
3

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.

Answered by ltzRaj12
3

Default step value is one

• It can never be zero

• It can be either positive or negative that is natural numbers or negative numbers less than 0

Similar questions