Home » C Programming » Operators » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    void main()
    {
    int t2 = 8;
    int t3 = 9;
    int t1 = ++t2 + t3--;
    printf("%d", t1);
    }
    1. 8
    2. Compilation Error
    3. 9
    4. 18
    5. Runtime Error
Correct Option: D

18



Your comments will be displayed only after manual approval.