Why do we need references in C++ when we can accomplish the same task with pointers?
Putting it in other words:
What are the advantages of using references over pointers?
How actually is passing using references in C++ is faster and efficient than passing values using pointers?
Putting it in other words:
What are the advantages of using references over pointers?
How actually is passing using references in C++ is faster and efficient than passing values using pointers?
Comment