Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?


        void main()

        {

            int i = 5, k;

            if (i == 0)

                goto label;

               label: printf("%d", i);

                printf("Hey");

        }

  2. A.
    5
    B.
    Hey
    C.
    5 Hey
    D.
    Nothing

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    none


Be The First To Comment