Pregunta de entrevista de Qualcomm

Nothing Unexpected, basic c/c++ problem involving pointer