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
how to create a shopping cart


// Basic pointer code #include "stdafx.h" #include iostream using namespace std; int _tmain(int argc, _TCHAR* argv[]) {             int FirstNumber, SecondNumber;

Spider webs have two types of silk, sticky silk and strength silk, spiders do not move on the sticky silken threads only on the strength threads. Assume one type of spider creates

In the final project assignment you are asked to develop an OOP C++ class hierarchy for derivative pricing, using the binomial tree and Black-Scholes option pricing methods. You wi

claculate 5% tax >10000 sal

Write a program to calculate the total resistance of a series or parallel circuit. The maximum number of resistors is two.   We need to decide whether the user wants the to

what is the function of spanning tree in graph algorithm?

At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes

give a program to accept and print 2_D Array