Vidyalelo
C# Programming · Q40

Operators and Expressions in C Sharp

Programming · C# Programming · question 40

Q40

What does the logical AND operator (&&) do in C#?

A.
Returns false if either operand is false
B.
Returns true if both operands are false
C.
Returns true if both operands are true
Answer
D.
Returns true if either operand is true

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board