why the below code does not show error while passing by reference
5165
What are the differences between a pointer variable and a reference variable in C++?
108856
Passing reference type in C#
20576
Are arrays passed by value or passed by reference in Java?
14596
Are PHP Variables passed by value or by reference?
59692
How to debug methods from Reference Classes?
157385
Function does not change passed pointer C++
107344
C++ parameter passing queries (code examples and outputs included)
45188
How do I pass a variable by reference?
127055
Pass By Value & Reference
66336
Why copy constructor is not called in this case?
44037
Are arrays or lists passed by default by reference in c#?
109507
How to pass variables by reference and by value
3868
Why use the 'ref' keyword when passing an object?
48603
When to use ref and when it is not necessary in C#
144723
Why doesn't java support pass by reference like C++
92485
JavaScript by reference vs. by value
107907
Why destructor is not called on exception?