Friday 5 April 2013

What is reference ??

What is reference ??

reference is a name that acts as an alias, or alternative name, for a previously defined variable or an object.
prepending variable with "&" symbol makes it as reference.
for example:
int a;
int &b = a;




Blog Author: Vijay Kumar

No comments:

Post a Comment