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);

        }

        void foo()

        {

            l1: printf("3 ", 3);

        }

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

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    none


Be The First To Comment