Question: For a given integer (32 bit integer), Remove all zeros (0) from binary from of the integer and print the value in Decimal. Ex: 1231111011

 For a given integer (32 bit integer), Remove all zeros (0)

For a given integer (32 bit integer), Remove all zeros (0) from binary from of the integer and print the value in Decimal. Ex: 1231111011 Remove 0 from the binary form 111111 print it in decimal >3 Input: 123 Output: 63

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!