Question

    Predict the   program output

    void main ()

    {

      int x = 128;

      printf ("n%d", 1 + x++);

    }

    A 128 Correct Answer Incorrect Answer
    B 129 Correct Answer Incorrect Answer
    C 130 Correct Answer Incorrect Answer
    D 127 Correct Answer Incorrect Answer
    E 126 Correct Answer Incorrect Answer

    Solution

    The correct answer is B

    Practice Next