Pages

NEWSLETTER

Join Over 1500 People Who get Latest MCQ in their Inbox. Its Delivered Automatically each time when We Publish in Mcq Bix.

➨ C Programming Bitwise Operators

1. In which numbering system can the binary number 1011011111000101 be easily converted to?
A.Decimal system
B.Octal system
C.Hexadecimal system ✔
D.No need to convert
- Answer&Explanation
Answer:Option C
Explanation :

Hexadecimal system is better, because each 4-digit binary represents one Hexadecimal digit.

2. Which bitwise operator is suitable for turning off a particular bit in a number?
A.&& operator
B.& operator ✔
C.|| operator
D.! operator
- Answer&Explanation
Answer:Option B
Explanation :

No answer description available for this question.

3. Which bitwise operator is suitable for turning on a particular bit in a number?
A.&& operator
B.|| operator
C.| operator ✔
D.& operator
- Answer&Explanation
Answer:Option C
Explanation :

No answer description available for this question.

4. Which bitwise operator is suitable for checking whether a particular bit is on or off?
A.&& operator
B.|| operator
C.| operator
D.& operator ✔
- Answer&Explanation
Answer:Option D
Explanation :

No answer description available for this question.