Top

Discussion

What is the output of this C code?    

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

 

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

Answer: B

No answer description available for this question.

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

Post your comment