Can you write a program to show the bits of an integer? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can you write a program to show the bits of an integer?

you have to show bits without changing decimal number to binary. you can use bitwise operator. 1&x= x; 0&x= x;

5th Nov 2017, 3:53 PM
Rahul Jain
Rahul Jain - avatar
0 Answers