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

Chapter 03

Commonly used bit-manipulation functions

Page 3



Write a function set_bit which will SET (to make it One) a particular bit in a byte (without disturbing other bits of the byte)


The solution is given below











setbit


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