Examveda

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: Option D


This Question Belongs to C Program >> Control Structures

Join The Discussion

Related Questions on Control Structures