What is the Difference between "vector" and "array"?
Answer Posted / avinash moras
arrays have definite size and cannot be increased once
declared....whereas the size of vectors can be increased
once it is on the mark to get filled...vectors ae declared
in java.util package*;
Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
Explain the concept of copy constructor?
What is purpose of abstract class?
Why is c++ awesome?
What are the advantages of using const reference arguments in a function?
Is python better than c++?
What are the basics of local (auto) objects?
Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.
Why do we use classes in c++?
When there is a global variable and local variable with the same name, how will you access the global variable?
What is set in c++?
What does catch(…) mean?
Which format specifier is used for printing a pointer value?
Explain differences between new() and delete()?
What do you understand by pure virtual function? Write about its use?
What is encapsulation in C++? Give an example.