C Programming - Control Instructions - Discussion

Discussion Forum : Control Instructions - General Questions (Q.No. 3)
3.
Which of the following is not logical operator?
&
&&
||
!
Answer: Option
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.

Discussion:
14 comments Page 2 of 2.

Linu said:   9 years ago
The & operator is a bitwise operator.

Akhilesh kumar said:   1 decade ago
& is a bitwise AND operator.

Nilesh Mohol said:   1 decade ago
& is a bitwise AND operator

Vinojayaraj said:   9 years ago
I agree @Linu.


Post your comments here:

Your comments will be displayed after verification.