Difference between "vector" and "array"?

Showing Answers 1 - 2 of 2 Answers

Praveen Macharla

  • Jul 21st, 2005
 

Arrays have to difine with fixed size it will not grow dynamically , vector size can be increased bydynamically and vectors are synchronized.

  Was this answer useful?  Yes

Yashwant S pinge

  • Mar 27th, 2006
 

Arrays have to difine with fixed size it will not grow dynamically , vector size can be increased bydynamically and vectors are synchronized.yaa always right.vector is a standard template library in C++. Vector size can be increased dynamically and stores the data in a continuous memory location and access by "[]"

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions