Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

why we cant create array of refrences

Answer Posted / o saienni

You cannot have a pointer to a reference.
In other words

int &* isn't allowed.

using:

int nArray[3];

The variable nArray is infact a pointer to an array or an
int pointer and the [] will find the offset within that
array. So an array of references will be a pointer to a
reference and this is why it's not allowed.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is pre-processor in C++?

1086


What is the operator in c++?

1070


Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..

3788


Which ide is best for c++?

989


How many types of modularization are there in c++?

1022


Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?

937


What is Destructor in C++?

1141


daily Routine of father

1351


How static variables and local variablesare similar and dissimilar?

994


What is the equivalent of Pascal's Real a) unsigned int b) float c) char

970


Who calls main function?

1048


Are c and c++ different?

932


What is endl?

1076


What is the use of vtable?

1095


What is the main purpose of c++?

1009