Question: 32 bits Write a function that reverses the bits of an unsigned int, named reverse. It should return the result. You may assume that there
32 bits

Write a function that reverses the bits of an unsigned int, named "reverse". It should return the result. You may assume that there are 32 bits in an unsigned int. Example binary number: 00110011111100001010101000000001 Reversed: 0000000010101010000111111001100 Another example in hexadecimal: FFOOFOFO Reversed OFOFOOFF 1 Test Cases Save & Run Tests
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
