Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?


        void main()
        {
            unsigned int x = -5;
            printf("%d", x);
        }

  2. A.
    Run time error
    B.
    Varies
    C.
    -5
    D.
    5

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    None.


Be The First To Comment