An Introduction to References in C++
C++ provides the pointer and reference to refer the object indirectly. But it is our choice to use the pointer or reference in our code for accessing the object indirectly. But C++ insist to use the reference but it is up to you and your requirement. Basically, reference defines an alternative name for an object […]
An Introduction to References in C++ Read More »