Pregunta de entrevista de Qualcomm

Returning ref of the local variable from the function.