Which bit wise operator is suitable for putting on a particular bit in a number?
C Interview Questions and Answers
(Continued from previous question...)
Which bit wise operator is suitable for putting on a particular bit in a number?
The bitwise OR operator. In the following code snippet, the bit number 24 is
turned ON:
some_int = some_int | KBit24;
(Continued on next question...)
Other Interview Questions
|