C Program to Convert Decimal to Binary using Bitwise AND operator
C Program to Convert Decimal to Binary using Bitwise and operator [crayon-62bec62e8386b384925343/] Output : [crayon-62bec62e83874371241691/] Above program is just to know the size of integer variable in C Programming (Borland C/C++ Compiler.) Integer number can be represented by 16 bits. To convert the Decimal Number into Binary , Check First MSB bit of number , if it is 1 then display '1' otherwise display '0'. Program : [crayon-62bec62e83878528147059/] Output : [crayon-62bec62e8387b003922509/] Explanation of Decimal to Binary Program : In this program we have accepted the decimal number using [...]