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
Computer Science,
2 months ago
English,
2 months ago
Computer Science,
2 months ago
English,
5 months ago
Science,
5 months ago
Math,
10 months ago
Math,
10 months ago