Top

Discussion

What is the output of this C code?

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

 

  • A.15, 4, 5
  • B.9, 6, 9
  • C.9, 3, 5
  • D.6, 4, 6

Answer: A

No answer description available for this question.

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

Post your comment