What is the Difference between "vector" and "array"?
Answer Posted / katty
In 'vector' memory allocated(dynamically) during runtime and
for array memory allocated during compilation.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Is c++ built on c?
What is a dll entry point?
Is the declaration of a class its interface or its implementation?
What's the order in which the local objects are destructed?
Explain the differences between private, public and protected and give examples.
What are keywords in c++?
What is a constructor in c++ with example?
Describe about storage allocation and scope of global, extern, static, local and register variables?
What is c++ programming language?
What is the purpose of template?
What is the difference between while and do while loop? Explain with examples.
What is the use of endl in c++?
How do you declare A pointer to a function which receives nothing and returns nothing
When is the copy constructor called?
What problems might the following macro bring to the application?