Top

Discussion

What is the output of this C code?    

void main()
    {
        int a = 5;
        int b = ++a + a++ + --a;
        printf("Value of b is %d", b);
    }

 

  • A.Value of x is 16
  • B.Value of x is 21
  • C.Value of x is 15
  • D.Undefined behaviour

Answer: D

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment