WHAT IS REFERENCE IN C ?

E E Cummings

Total Post:26

Points:182
Posted by  E E Cummings
 1033  View(s)
Ratings:
Rate this:
Hi All,

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

Thanks in advance. 
  1. AVADHESH PATEL

    Post:604

    Points:4228
    Re: What is reference in c ?

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!