Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        void main()
        {
            int k = 8;
            int x = 0 == 1 && k++;
            printf("%d%d\n", x, k);
        }
  2. A.
    0   9
    B.
    0   8
    C.
    1   9
    D.
    1   8

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    None.


Be The First To Comment