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 is a pointer with example?

659


What are the types of container classes?

616


what is scupper?

1894


What is the purpose of extern storage specifier?

625


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?

563






What is microsoft c++ redistributable 2013?

573


If all is successful, what should main return a) 0 b) 1 c) void

558


How does java differ from c and c++?

535


Difference between pointer to constant and constant pointer to a constant. Give example.

642


Describe the setting up of my member functions to avoid overriding by the derived class?

605


What is prototype in c++ with example?

562


Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300

1786


When does a name clash occur in c++?

714


what is C++ exceptional handling?

627


Is nan a c++?

613