Home / C Programming / Operators and Expressions :: Discussion

Discussion :: Operators and Expressions

  1. void main()

    {

    int a=10, b;

    b = a++ + ++a;

    printf("%d %d %d %d", b, a++, a, ++a);

    }

    what will be the output when following code is executed?

  2. A.

     12 10 11 13

    B.

     22 12 12 13

    C.

     22 11 11 11

    D.

     22 14 12 13

    E.

     22 13 14 14

    View Answer

    Workspace

    Answer : Option E

    Explanation :

    Explanation Not Provided


Be The First To Comment