Top

Discussion

What is the output of this C code? 

   int main()
    {
        if (~0 == 1)
            printf("yes\n");
        else
            printf("no\n");
    }

 

  • A.Yes
  • B.No
  • C.Compile time error
  • D.Undefined

Answer: B

No answer description available for this question.

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

Post your comment