Which for loop has range of similar indexes of 'i' used in for (i = 0;i < n; i++)?
A. for (i = n; i>0; i–)
B. for (i = n; i >= 0; i–)
C. for (i = n-1; i>0; i–)
D. for (i = n-1; i>-1; i–)
Answer:A
Which for loop has range of similar indexes of 'i' used in for (i = 0;i < n; i++)?
A. for (i = n; i>0; i–) B. for (i = n; i >= 0; i–) C. for (i = n-1; i>0; i–) D. for (i = n-1; i>-1; i–)