Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        void main()
        {
            int x = 97;
            int y = sizeof(x++);
            printf("x is %d", x);
        }
  2. A.
    x is 97
    B.
    x is 98
    C.
    x is 99
    D.
    Run time error

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    None.


Be The First To Comment