Define reference?, C/C++ Programming

A: This is a name that acts as an alias, or alternative name, for a beforehand defined variable or an object. prepending variable along with "&" symbol makes it as reference.

for example:

int a;

int &b = a;

 

Posted Date: 3/21/2013 7:26:34 AM | Location : United States







Related Discussions:- Define reference?, Assignment Help, Ask Question on Define reference?, Get Answer, Expert's Help, Define reference? Discussions

Write discussion on Define reference?
Your posts are moderated
Related Questions
A: In C++ there is a main difference among a template and a macro. Merely a macro is a string which the compiler replaces along with the value that was defined. For example #define

Need assignment help What's the order that local objects are destructed?

Input Output Most languages have "statements" to perform I/O . Though in C and C++ we use "functions" to perform I/O. C++ also has its own I/O mechanism - the cin and cout obje

#include stdio.h #include math.h float discharge(float,float); void main()   {   char prompt;      float time,out,cr;   cr = 100e-6;   for (time = 0;time   {   /* call th

A: The inline keyword tells the compiler to substitute the code in the function de_nition for each instance of a function call. Though, substitution takes place only at the compile

program that generate university statistical bar graph using 3d function

Explain one-definition rule (ODR). According to one-definition rule, C++ constructs should be identically defined in each compilation unit they are used in. As per ODR, two

manupulates operator precidence

Write a program of constructors and destructors Make a class drugs having encapsulated data for medicine name, whether solid or liquid, price and purpose of use. From this clas

types of lists