Top

Discussion

What will be the output of the following C code?

#include 
    void main()
    {
        int x = 4, y, z;
        y = --x;
        z = x--;
        printf("%d%d%d", x, y, z);
    }

 

  • A.3 2 3
  • B.2 2 3
  • C.3 2 2
  • D.2 3 3

Answer: D

No answer description available for this question.

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

Post your comment