Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?


       int main()

        {

            int i = 0;

            for (; ; ;)

                printf("In for loop\n");

                printf("After loop\n");

        }

  2. A.
    Compile time error
    B.
    Infinite loop
    C.
    After loop
    D.
    Undefined behaviour

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    none


Be The First To Comment