Control Instructions on C related Questions and Answers


Question :   Which for loop has range of similar indexes of 'i' used in for (i = 0;i < n; i++)?
1. for (i = n; i>0; i–)
2. for (i = n; i >= 0; i–)
3. for (i = n-1; i>0; i–)
4. for (i = n-1; i>-1; i–)
Answer :   4 - for (i = n-1; i>-1; i–)  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter