Top

Discussion

What is the output of this C code?    

int main()
    {
        int a = 1, b = 2;
        a += b -= a;
        printf("%d %d", a, b);
    }

 

  • A.1   1
  • B.1   2
  • C.2   1
  • D.2   2

Answer: C

No answer description available for this question.

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

Post your comment