Intel Corporation interview question

Asked about a bit shifting function