What is reference in c ?

Total Post:25

Points:175
 1309  View(s)
Ratings:
Rate this:
Hi All,

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

Thanks in advance. 
  1. 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!