Pointers mcq-input output question

the solution is “c” i am not able to understand the solution!
please explain the solution