Reference Variable in C++ language
Reference Variable in C++ language
What is Reference variable ?
Example of Reference variable
NOTE :
In above example remember that int&y=x; means y is reference variable in which y take reference of x therefore increment in y then value of x is increased as we saw in above so we can said that y is just a another name x or we can used y as reference variable of x.
Comments
Post a Comment