top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

is it necessary to start variable from zero (var i = 0 ) of ' for loop ' ?

0 votes
253 views
is it necessary to start variable from zero (var i = 0 ) of ' for loop ' ?
posted Jun 24, 2014 by Vrije Mani Upadhyay

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes
 
Best answer

No, For loop, variable initialization is must but it can have any value.

answer Jun 25, 2014 by Amit Kumar Pandey
...