Intel Corporation Interview Question

Asked about a bit shifting function