Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. The output of the code below is?


        void main()

        {

            int x = 5;

            if (x < 1)

                printf("hello");

            if (x == 5)

                printf("hi");

            else

                printf("no");

        }

  2. A.
    hi
    B.
    hello
    C.
    no
    D.
    None of the mentioned

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    none


Be The First To Comment