Also you can Check out - Difference between Pointers and Reference in C++