Home > DeveloperSection > Forums > What is reference in c ?
E E Cummings
E E Cummings

Total Post:26

Posted on    June-13-2013 7:27 AM

 Visual C++ Visual C++ 

 1 Reply(s)
 969  View(s)
Rate this:
Hi All,

What is "reference" terminology in C++ language. Please described in a simple words.

Thanks in advance. 


Total Post:604

Posted on    June-14-2013 2:01 AM

A reference is an implicit pointer that for all intents and purposes acts like  another name for a variable.
There are three ways that a reference can be used.First a reference can be passed in to a function.Second
a reference can be returned by a function.Finally,an independent reference can be created.

Don't want to miss updates? Please click the below button!

Follow MindStick