Top

Discussion

What is the output of this C code?    

void main()
    {
        int x = 0;
        if (x = 0)
            printf("Its zero\n");
        else
            printf("Its not zero\n");
    }

 

  • A.Its not zero
  • B.Its zero
  • C.Run time error
  • D.None

Answer: A

No answer description available for this question.

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

Post your comment