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

What is the difference between while and do while loop?

668


What are static member functions?

691


What are the extraction and insertion operators in c++?

663


In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that

709


Describe the advantage of an external iterator.

703






can any one help to find a specific string between html tags which is changed to a sting.. weather.html looks (for location) is somewhere #include #include #include using namespace std; string find_field(string myPage,string); int main (void) { string page, line, location, temperature; ifstream inputFile("weather.xml"); while(getline(inputFile, line)) { page.append(line); line.erase(); } // Now page is a string that contains the whole xml page // Here you need to write something that finds and // extracts location and temperature from the XML // data in the string page and stores them in // the strings location and temperature respectively location=find_field(page,"location"); temperature=find_field(page,"temp_c"); cout << "Location: "<

1739


What is == in programming?

704


Difference between overloaded functions and overridden functions

681


Is c++ a difficult language?

665


What does count ++ do in c++?

789


Explain storage qualifiers in c++.

709


Which software is used for c++ programming?

715


Which is most difficult programming language?

683


What is the difference between a definition and a declaration?

662


What should main() return in c and c++?

616