answersLogoWhite

0

What is a call by reference?

User Avatar

Anonymous

13y ago
Updated: 8/16/2019

In C++ (C Plus Plus), when you call by reference, you are directly accessing the data of the referenced object.

When you pass an object to a function by reference, any and all alterations to the object made within the function carry through to the actual object.

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin

Add your answer:

Earn +20 pts
Q: What is a call by reference?
Write your answer...
Submit
Still have questions?
magnify glass
imp