Qualcomm Interview Question

Returning ref of the local variable from the function.