Top

Discussion

What is the output of this C code?

void main()
    {
        int x = 1, y = 0, z = 5;
        int a = x && y && z++;
        printf("%d", z);
    }

 

  • A.6
  • B.5
  • C.Varies

Answer: B

No answer description available for this question.

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

Post your comment