What is the Difference between "vector" and "array"?
Answer Posted / vishwa
vector is also an array but the size of a vector can change
dynamically where in array its fixed.
we can create some reserve space in vector where in array we
cannot.
Is This Answer Correct ? | 136 Yes | 17 No |
Post New Answer View All Answers
What are different types of loops in c++?
What's the hardest coding language?
What is ios flag in c++?
What is different in C++, compare with unix?
Is c++ a difficult language?
What is an adjust field format flag?
How to get the current position of the file pointer?
What is recursion?
Differentiate between realloc() and free().
What is meant by a delegate?
What is the difference between the compiler and the preprocessor?
What apps are written in c++?
What is do..while loops structure?
what is oops and list its features in c++?
What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0