Pregunta de entrevista de Apple

question based on bitwise operator