0

What are the real time examples to use pass by value and pass by reference in C,C++

27th May 2020, 4:29 AM
Stark
Stark - avatar
1 Odpowiedź
+ 1
When you use by value it means that in function is creating new copy of variable and changes in function are not changing this variable out of function, when by reference it means that , if you changed it in function this variable will change out if function too.
27th May 2020, 4:33 AM
꧁༒☬Bad☬Boy☬༒꧂
꧁༒☬Bad☬Boy☬༒꧂ - avatar