D
DJ
Hi all,
I just started c programming recently and facing a bit harder
questions. I'm wondering if anyone can help me get started with this
question. I did learn bit shifting, setting and resetting but don't
how to apply the idea to the question. Thank u much DJ
A function that tests bits in a byte, and it returns:
a) success or failure,
b) count of bits that are set ("==") in the byte,
c) position of bit(s) in the byte.
I just started c programming recently and facing a bit harder
questions. I'm wondering if anyone can help me get started with this
question. I did learn bit shifting, setting and resetting but don't
how to apply the idea to the question. Thank u much DJ
A function that tests bits in a byte, and it returns:
a) success or failure,
b) count of bits that are set ("==") in the byte,
c) position of bit(s) in the byte.