MCQs > IT & Programming > Programming With C > 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; }

Programming With C 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

Programming With C Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Programming With C Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it