MCQs > IT & Programming > C Programming > Output of following code? int' main() { int i; i = 0; for (i = 1; i <2; i++) { i++; printf( '%d', i ); continue; printf( "%d", i ); } return 0; }

C Programming MCQs

What will be the output of following code?

int' main()

 {

         int i;

         i = 0;

   for (i = 1; i <2; i++)

{

           i++;

         printf( "%d", i );

        continue;

        printf( "%d", i );

 }

 return 0;

}

Answer

Correct Answer: 2

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it