R

Ram Sharma • 3.40K Points
Extraordinary

Q. What is the output of `true && false || true` in C#?

  • (A) true
  • (B) false
  • (C) Compilation error
  • (D) null

Explanation by: Ram Sharma
`true && false` is `false`, but `false || true` is `true`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.