A

Admin • 828.03K Points
Coach

Q. What will be printed?

Code:
bool x = false;
Console.WriteLine(!x);
  • (A) true
  • (B) false
  • (C) 0
  • (D) 1

Explanation by: Admin
Logical NOT operator inverts the value.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.