Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

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

Answer Attachments

Exams With Marking Schemes

Related Questions