What is the use of Reference Variable Give example-00034
This subjective question is related to the book/course vu acc501 Business Finance. It can also be found in vu acc501 Mid Term Solved Past Paper No. 2.
Question 1: What is the use of Reference Variable, Give example
Answer:
A reference variable is used to refer a particular object Location which resides on a garbage collectable heap. c++ supports one more type of variable called reference variable. In addition to pointer variable and value variable of reference variable behaves similar to both vaule variable and pointer variable. Reference variable has all access that variable has.