Get premium membership and access questions with answers, video lessons as well as revision papers.

What is a reference in programming? What is one advantage of using a reference parameter?

      

What is a reference in programming? What is one advantage of using a reference parameter?

  

Answers


Davis
A reference is essentially an implicit pointer constant that is effectively a different name for another variable argument. One advantage of using a reference parameter is that no copy of the argument is made.
Githiari answered the question on February 4, 2018 at 12:06


Next: Determine the derivative y' given y=(x+2)(x+3)/(x+1)(x+2)
Previous: Given a pointer to an object in a C++, what operator is used to access a member of that object?

View More Computer Science Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions