Apple interview question

question based on bitwise operator