πŸ“’ Too many exams? Don’t know which one suits you best? Book Your Free Expert πŸ‘‰ call Now!


    Question

    What will be the output of the following C code?

    >#include int main() { int i; for (i = 0; i < 5; i++) { if (i == 3) continue; printf("%d ", i); } return 0; }
    A 0 1 2 3 4 Correct Answer Incorrect Answer
    B 0 1 2 4 Correct Answer Incorrect Answer
    C 0 1 2 Correct Answer Incorrect Answer
    D 3 4 Correct Answer Incorrect Answer
    E Compile-time error Correct Answer Incorrect Answer

    Solution

    Answer: B) 0 1 2 4

    Practice Next
    ask-question
    9