Microsoft interview question

Based on pointers Output.