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 the role of C++ shorthand's?

1233


what is VOID?

1019


write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.

2652


Does a derived class inherit or doesn't inherit?

1043


How long does it take to get good at leetcode?

1129


What is a sequence in c++?

962


How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?

1043


What is the function to call to turn an ascii string into a long?

1006


How delete [] is different from delete?

963


Is ca high or low level language?

1027


What is a static element?

1023


write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;

1833


What is the basic difference between C and C++?

1103


Can static member variables be private?

1124


How do I tokenize a string in c++?

1035