why we cant create array of refrences

Answer Posted / som shekhar

Since References are not objects and they dont have any
storage of their own , they always refer to the existing
object. Therefore it doesn't make sense to have an array of
reference.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define what is constructor?

590


What is flush () in c++?

581


Explain how to initialize a const data member.

598


What is problem with overriding functions?

611


Is c++ built on c?

565






What is late binding c++?

546


Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c

803


Why do we use constructor?

605


In what situations do you have to use initialization list rather than assignment in constructors?

637


Can malloc be used in c++?

572


What is meant by entry controlled loop? What all C++ loops are exit controlled?

573


Please explain class & object in c++?

606


What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?

622


What do c++ programmers do?

558


How can I learn c++ easily?

625