writing c program -- 4

Job ID: 31026692

Budget: $10 – $30 CAD

write a simple program that extracts the page number and offset (based on the first figure
above) from the following integer numbers:
1, 256, 32768, 32769, 128, 65534, 33153
Perhaps the easiest way to do this is by using the operators for bit-masking and bit-shifting. Once
you can correctly establish the page number and offset from an integer number, you are ready to
begin.