Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        int main()

        {

            int a = 0, i = 0, b;

            for (i = 0;i < 5; i++)

            {

                a++;

                if (i == 3)

                    break;

            }

        }

  2. A.
    1
    B.
    2
    C.
    3
    D.
    4

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    none


Be The First To Comment