Examveda
Examveda

Determine Output:
void main()
{
      int i=5, j=6, z;
      printf("%d", i+++j);
}

A. 12

B. 13

C. 11

D. None of These

Answer: Option C

Solution(By Examveda Team)

The expression i+++j is treated as ((i++) + j)

Join The Discussion

Comments ( 2 )

  1. Lavanya Reddy
    Lavanya Reddy :
    2 years ago

    here the (i++)+j means (5+1)+6=12



































  2. Harish
    Harish :
    2 years ago

    why is it not treated as i+(++j) ?

Related Questions on C Miscellaneous