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

Explain operator overloading.

1109


What is struct c++?

1053


What are the rules about using an underscore in a c++ identifier?

1253


What does I ++ mean in c++?

1176


Is c++ a good first language to learn?

1120


Is c++ slower than c?

1110


What is expression parser in c++

2564


Do class method definitions?

1095


What are the vectors in c++?

1095


Are strings immutable in c++?

1225


What language does google use?

1241


Can we distribute function templates and class templates in object libraries?

1133


What are pointer-to-members in C++? Give their syntax.

1184


What is c++ stringstream?

1175


Why is c++ still best?

1025