Updated cpp.php

This commit is contained in:
2026-02-27 14:38:32 -06:00
parent 950f199949
commit 787f48ad90

View File

@@ -359,7 +359,7 @@
</ul>
<li>Pass by reference</li>
<ul>
<li></li>
<li>The address of the variable is directly associated with the variables for the local scope. That is, these local scope variables now hve access to the variables outside of the scope. This is done by using the ampersand character: <code>void my_func(int &var) {...}</code>. Essentially, these new variables contain no new data and do not take up any more memory that was already there. No matter is created, only another name for a variable which is removed after the function completes execution.</li>
</ul>
<li>Constant parameters</li>
<ul>