how to check the binary value bit by bit in c program
Answers
Answered by
0
Answer:
Bitwise AND Operator (&) is a binary operator, which operates on two operands and checks the bits, it returns 1, if both bits are SET (HIGH) else returns 0. Here, NUM is the number whose bit you want to check and N is the bit number, (1<<N) SET the particular bit at Nth position.
Similar questions