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

Why do we use double in c++?

721


What is abstraction in c++?

769


What do you mean by function and operator overloading in c++?

692


What is bubble sort c++?

675


What do you mean by ‘void’ return type?

721






Write a function that swaps the values of two integers, using int* as the argument type?

690


What is ofstream c++?

697


What are c++ tokens?

693


What is the type of 'this' pointer? When does it get created?

628


Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?

710


Explain selection sorting. Also write an example.

682


What is an iterator class in c++?

697


How does work in c++?

707


Is c++ platform dependent?

727


What is ios flag in c++?

771