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 do you mean by volatile and mutable keywords used in c++?
Explain bubble sorting.
What you know about structures in C++?
What is the difference between global variables and static varables?
What is binary object model?
Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be
What is difference between c++ 11 and c++ 14?
What is the hardest coding language to learn?
What is a dynamic binding in c++?
Is turbo c++ free?
What does flush do?
Are strings mutable in c++?
What are the different types of comments allowed in c++?
What is setfill c++?
Explain differences between alloc() and free()?