AMD Interview Question

Examine the output based on different function calls including pointers