n call by reference, the function receives a reference (alias) to the actual argument. Any modifications made to the parameter will directly affect the original argument.
Key Points:
No copy of the argument is made; instead, the function works directly on the original data.
This is more efficient for large data structures or arrays since no copy is made.
Changes inside the function affect the original value.
Example (in C++ since C does not support references directly):