What is the Difference between "vector" and "array"?
Answer Posted / guest
a vector is also like an array i.e sequentially accessed but
we can increase/decrease size of a vector in a simple way
than it is done for arrays.
| Is This Answer Correct ? | 79 Yes | 39 No |
Post New Answer View All Answers
What is wrapper class in c++?
What are the advantages of using const reference arguments in a function?
What are the differences between java and c++?
Explain differences between new() and delete()?
What is c++ runtime?
What is the default width for ouputting a long integer using the insertion operator?
Describe protected access specifiers?
Should a constructor be public or private?
Is string an object in c++?
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
What is the difference between #import and #include?
What is purpose of new operator?
What are the types of container classes?
Who calls main function?
why is c++ called oops? Explain