Question: How to make a c + + function that takes in a decimal number and outputs a 3 2 bit binary conversion of the number.

How to make a c++ function that takes in a decimal number and outputs a 32 bit binary conversion of the number. It must only be done used bitwise operators, not a single arithmetic operator can be present like - or +. So, a loop must be made but without the use of --i or ++i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!