Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?


        int main()

        {

            printf("%d ", 1);

            goto l1;

            printf("%d ", 2);

            l1:goto l2;

            printf("%d ", 3);

            l2:printf("%d ", 4);

       }

  2. A.
    1 4
    B.
    Compile time error
    C.
    1 2 4
    D.
    1 3 4

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    none


Be The First To Comment