Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        int main()
        {
            int i = 2;
            int j = ++i + i;
            printf("%d\n", j);
        }
  2. A.
    6
    B.
    5
    C.
    4
    D.
    Compile time error

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    None.


Be The First To Comment