Top

Discussion

What will be the output of the following C code?

#include 
    void main()
    {
        int a = -5;
        int k = (a++, ++a);
        printf("%d\n", k);
    }

 

  • A.-3
  • B.-5
  • C.4
  • D.Undefined

Answer: A

No answer description available for this question.

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

Post your comment