/bitOperations

Preforms bitwise operations on a provided number

Primary LanguageC

bitOperations

Simple C program for demonstrating basic bit operations on an unsigned integer.
Takes a positive number, the position of bit to modify, and what to modify the bit to.
The program then prints the current value of the bit at the indicated position, modifies the bit, and prints the resulting new number.

Tested and compiles using the GNU compiler toolchain for windows, mingw.