Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 451 Bytes

File metadata and controls

19 lines (14 loc) · 451 Bytes

Simple Bitwise-Operations-in-Cpp

Example OUTPUT

Enter a number between 0 & 255: 147
Choose an n-th digit: 4

The position of the n-th is: 00010000
The result of the n-th is: 00010000

Decimal: 147
Hexadecimal: 93
Octal: 223
Binary: 10010011

LSB: The Number have a min Bit!
MSB: The Number have a max Bit!

Ones: 4, Zeros: 4
Twos Complement: 01101101