Harshit Agrawal - 3 months ago 9

C++ Question

Suppose I have an integer

`int a`

In c++, as this

`int`

`1`

`0`

`1`

`0`

`0`

`1`

Is there an easy way to go about this?

Edit: I also want to play with boolean algebra also. That is if I can execute basic boolean operations like addition, subtraction, etc.

Answer