Top

Discussion

What is the output of this C code?    

void main()
    {
        int k = 8;
        int x = 0 == 1 && k++;
        printf("%d%d\n", x, k);
    }

 

  • A.0   9
  • B.0   8
  • C.1   9
  • D.1   8

Answer: B

No answer description available for this question.

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

Post your comment