Home » C Programming » Operators » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    void main()
    {
    int p1 = 12;
    int p2 = (p1++, p1++);
    printf("%d %d\n", p2, p1);
    }
    1. 12 13
    2. 13 14
    3. 14 15
    4. Compilation Error
    5. None of these
Correct Option: B

13 14



Your comments will be displayed only after manual approval.