+ 5
How and when to use reference variable in a c++ program?
Reference variable are internally called as pointers and they can't be changed after created.But how and when to use them in program. I also have pointers so ,why to use them?
1 Odpowiedź
+ 4
Hi Ayush Sinha , go through below article :
https://www.geeksforgeeks.org/pointers-vs-references-cpp/