I'm doing some reading for my c++ class and we're learning about user defined functions. I just read something about reference parameters but the course just told me about the syntax of the parameter and not what it does or how it would be used. Can anybody give me some clarification?
Asked
Active
Viewed 32 times
0
-
[Why does C++ have both pointers and references?](https://www.stroustrup.com/bs_faq2.html#pointers-and-references) – Eljay Mar 20 '22 at 00:41
-
Just as a note: please do not downvote any questions that are duplicates, as described in [the code of conduct](https://stackoverflow.com/conduct). – Power_tile Mar 20 '22 at 01:39