Pointers and references? I need some help

I think it’s just pointing to the memory of the object because in this case the function returned it.