+ 2
Which one is faster?? Printing numbers say from 1 to 100 in forward order or reverse order using a for loop??
3 Answers
+ 2
computers dont know anything about forward or reverse order they just increment or decrement number according to statement so both of them will take equal.
+ 1
I am not sure but I would think that it should be equal.
+ 1
Yes it should be equal, or the difference would be so small that even with an enormous range of number you would not see it