WR Home      Topic Home      Chapter:  1  2  3 
<Previous Next>

Chapter 03

Commonly used bit-manipulation functions

Page 16

Some Questions on Bit Manipulation



Question:
Write a program to find number of ones at odd bit positions.

Question:
Write a program to find number of zeros at odd bit positions.

Question:
Write a program to find number of ones at even bit positions.


Question:
Write a program to find number of zeros at even bit positions.


WR Home      Topic Home      Chapter:  1  2  3 
<Previous Next>