C Programming - Bitwise Operators - Discussion

Discussion Forum : Bitwise Operators - General Questions (Q.No. 4)
4.
Which bitwise operator is suitable for checking whether a particular bit is on or off?
&& operator
& operator
|| operator
! operator
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
29 comments Page 3 of 3.

Gajanan said:   1 decade ago
@Dimple,

You are correct. Why we can used (|) instead of (&)?

Ramya said:   10 years ago
Can anyone explain bitwise operators by writing a program?

ANAND said:   9 years ago
What is the use of || operator? Please explain me friends.

Guru sai Jaya prakash said:   9 years ago
0 | 0 = 0.

1 | 0 = 1.

So, why can't we use like this?

HARSHIT BHATIA said:   1 decade ago
Yaa, & operator is perfect for find out on or off.

Riya said:   1 decade ago
What is the difference between && and & ?

Amit(saktimaan) said:   1 decade ago
I don't understand this.

KIRAN said:   1 decade ago
What is unary operator?

Navya.ch said:   1 decade ago
Then why can't we use?


Post your comments here:

Your comments will be displayed after verification.