why we cant create array of refrences

Answer Posted / truong

Because address of all the items in an array is continuous. So each item of it cannot reference to a specified variable.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there any function that can skip certain number of characters present in the input stream?

588


If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

612


What are separators in c++?

627


What is the difference between prefix and postfix versions of operator++()?

597


How does a copy constructor differs from an overloaded assignment operator?

560






Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes

591


What is encapsulation in c++ with example?

591


Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

569


What is a lambda function c++?

555


Describe Trees using C++ with an example.

610


Why c++ does not have finally?

595


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

579


Why do we use classes in programming?

578


What is buffering in c++?

589


What is const in c++?

600