Problem Solving Through C (BCA) 1st Sem Previous Year Solved Question Paper 2022

Practice Mode:
19.

What logical operators are available in C language?

Explanation

There are three logical operators:

  1. Logical AND (&&): Returns true if both operands are true.

  2. Logical OR (||): Returns true if at least one of the operands is true.

  3. Logical NOT (!): Returns the opposite of the operand's logical value (negation).