The default value of the step value is. a)1. b)0
c)-1
d) None of these
Answers
Answered by
16
Answer:
-1
Explanation:
please mark me brainlist
Answered by
11
The default value of the step value is 1
Answer: Option (a)
Explanation:
Looping in a program carries out the sequence of statements lot of times until the stated condition becomes false.
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.
Similar questions
Chemistry,
5 months ago
Environmental Sciences,
10 months ago
English,
10 months ago
Computer Science,
1 year ago