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 does std :: flush do?

1187


What are the various operations performed on stack?

1149


Which ide is best for c++?

1087


what is the use of void main() in C++ language?

1164


Is std :: string immutable?

1092


Which software is best for coding?

1095


What's the order in which the local objects are destructed?

1304


What happens when the extern "c" char func (char*,waste) executes?

1127


Is it possible to use a new for the reallocation of pointers ?

1121


What you know about structures in C++?

1138


Define a nested class. Explain how it can be useful.

1128


What is a sequence in c++?

1069


Write a program which uses functions like strcmp(), strcpy()? etc

1150


What is the use of class in c++?

1117


What is const pointer and const reference?

1226