What is the Difference between "vector" and "array"?

Answer Posted / guest

a vector is also like an array i.e sequentially accessed but
we can increase/decrease size of a vector in a simple way
than it is done for arrays.

Is This Answer Correct ?    79 Yes 39 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of default constructor?

661


What is c++ course?

661


Do you know what are static and dynamic type checking?

709


What is std :: flush?

679


What is #include iostream?

853






Does there exist any other function which can be used to convert an integer or a float to a string?

729


Explain unexpected() function?

682


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

645


What do you understand by zombie objects in c++?

718


What is the best free c++ compiler for windows?

698


What parameter does the constructor to an ofstream object take?

703


Why do we need c++?

690


What is the use of map in c++?

722


What are the advantages of early binding?

700


Difference between strdup and strcpy?

756