Your Ad Here
0

Which bit wise operator is suitable for turning off a particular bit in a number?

Posted by The Blogger on 9:18 AM in
Answer:

The bitwise AND operator, again. In the following code snippet, the bit number 24 is reset to zero.

some_int = some_int & ~KBit24;

tags: c interview questions and answers, c interview question Which bit wise operator is suitable for turning off a particular bit in a number, Which bit wise operator is suitable for turning off a particular bit in a number

0 Comments

Post a Comment

Your Ad Here

Copyright © 2009 Interview Questions and Answers