

MCQOPTIONS
Saved Bookmarks
1. |
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–) |
C. | for(int i=100; i<0; i++) |
D. | for(int i=99; i>0; i++) |
Answer» C. for(int i=100; i<0; i++) | |