C Program to Check a Bit of an Integer

An integer consists of 32 bits. Here we’ll see how to write C program to check whether a particular bit is 0 or 1. The above diagram shows the binary representation of an integer 8,55,119. Bit position will start from 0. That means the least significant bit position is 0 and the most significant bit … Continue reading “C Program to Check a Bit of an Integer”

0
0
0
0
3
0