Question: Store the value 43690 into a data type that is at most 16 bits wide. Starting with the most significant bit and working down to
Store the value 43690 into a data type that is at most 16 bits wide. Starting with the most significant bit and working down to the least significant bit, in a loop, set any bit that is cleared and print the result.
A result should only be printed if a cleared bit is set. Only one result per loop iteration should be printed.
Extra credit: Print results in hexadecimal format.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
