MCQ Answer

Which of the following is the correct syntax for a for loop in C?

Which of the following is the correct syntax for a for loop in C?

Topic : Looping Statements

A. for (int i = 0; i < 10; i++)

B. for i = 0 to 10 step 1

C. for (i = 0; i < 10; i++)

D. for (i < 10; i++)




Correct Answer is :

A. for (int i = 0; i < 10; i++)



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad