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

Answer Posted / sanish joseph

A growable array is calld vector while array is of fixed size,

Is This Answer Correct ?    41 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the benefits of operator overloading?

873


What is lazy initialization in c++?

807


What is runtime errors c++?

784


What is a storage class? Mention the storage classes in c++.

767


What is unary operator? List out the different operators involved in the unary operator.

763






Differentiate between an external iterator and an internal iterator?

771


Why Pointers are not used in C++?

793


What is virtual destructor ans explain its use?

815


Is map thread safe c++?

839


What is an iterator?

898


Is c++ the hardest language?

725


How come you find out if a linked-list is a cycle or not?

761


Explain what are mutator methods in c++?

749


Can malloc be used in c++?

770


What is difference between rand () and srand ()?

802