AMD interview question

Examine the output based on different function calls including pointers