"Everything should be made as simple as possible, but not simpler."
- Albert Einstein
|
C Programming - Control Instructions - Discussion
|
| 3. |
Which of the following is not logical operator? |
| [A]. |
| & |
|
| [B]. |
&& | | [C]. |
|| | [D]. |
! |
Answer: Option A
Explanation:
Bitwise operators:
& is a Bitwise AND operator.
Logical operators:
&& is a Logical AND operator.
|| is a Logical OR operator.
! is a NOT operator.
So, '&' is not a Logical operator.
|
|
|
|