Question: reverse.c This code will contain a single function that accepts a single positive integer less than two billion (and the include directive to your header
reverse.c This code will contain a single function that accepts a single positive integer less than two billion (and the include directive to your header file) to perform the following functionality: reverse the bits (all 32 of them) and then print out the decimal value of the new integer (i.e., the one with the bits reversed). For example, if the user enters the positive integer 2 (which is 000010), this function would reverse the digits to 010000, which is 1073741824. The operations to reverse the bits must be done using bitwise operators. One team member, and only one team member, will be responsible for the source code in 3 of 7 this file in GitLab, though collaboration with other group members may be done if needed.
This solution can not contain any arrays and must be written in c.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
