BDCOM (China) interview question

Pointer in c, Algorithm Math Iq