Q90
Which is better in terms of performance for iterating an array?
A.
for(int i=0; i<100; i++)
B.
for(int i=99; i>=0; i-)
AnswerC.
for(int i=100; i<0; i++)
D.
for(int i=99; i>0; i++)
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board