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

How is modularity introduced in C++?

851


What is buffer and example?

612


What is data structure in c++?

742


What is the limitation of cin while taking input for character array?

1565


What is flag in computer?

684






what kind of projects are suitable for c and c++

712


What is the use of data hiding?

685


Is it possible to pass an object of the same class in place of object reference to the copy constructor?

653


Does c++ have foreach?

624


What sorting algorithm does c++ use?

678


How do you print a string on the printer?

666


Are c and c++ different?

626


What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random

761


Comment on c++ standard exceptions?

728


Write a struct time where integer m, h, s are its members?

607