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 Announcements(download all my book free)

O LEVEL- INTERNET TECHNOLOGY & WEB DESIGN

Call by Reference with Pointer in C Language part-4-a