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

Popular posts from this blog

Important Program of C language in O level exam january 2019

Campus and Interview preparation with Java

O LEVEL- IT TOOLS & BUSINESS SYSTEM