Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        void main()
        {
            int x = 1, z = 3;
            int y = x << 3;
            printf(" %d\n", y);
        }
  2. A.
    -2147483648
    B.
    -1
    C.
    Run time error
    D.
    8

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    None.


Be The First To Comment