Using the example codes for bit reversal, make a program that reverses the bits in a C int, but uses a lookup table of only 16 elements. See the handout for some details on the two functions you will need. Your program should follow the model code in that entering a value of zero causes the program to exit. Otherwise, it should print the reversed value and ask for more input.
Paper#65561 | Written in 18-Jul-2015Price : $27