0
When pointers are used, when reference types are used?
2 Antworten
+ 2
In C++, pointers are specifically more often used for dynamic memory allocations. On the other hand, reference types have taken place of pointers what they do in C UDFs for passing arguments by references.
0
Thank you for the replay. As per my knowledge reference variable are used as alias. Yes pointer are used for dynamic memory allocation but I am asking in the real time while doing a project where to use the pointer and reference.