Apple Interview Question

Write a C function to isolate n bits at offset k.