|
|
|
|
|
by Kranar
1295 days ago
|
|
All those languages pass by value and it's kind of embarrassing that you mixed it up while criticizing someone else for not knowing it. One necessary (but insufficient) test you can use to determine if your language has call by reference or call by value is whether you can implement a swap function. In the languages you list, a swap function is not possible to implement, whereas in C++ it is, which tells you that those languages do not implement pass by reference. |
|