Let’s say that some function returns object reference. How one should properly spell:
- this function returns reference to an object
- this function returns reference of an object
?
Are both forms correct?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I agree with @Amadan: “reference to” is more clear than “reference of,” even if “reference of” is acceptable grammatically. But I think the most important thing is that you approach this consistently, and don’t mix and match different constructions to refer to the same concept or process.