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 main a class in c++?
Can a constructor return a value?
What are arithmetic operators?
Define the operators that can be used with a pointer.
What are the operators in c++?
What problems might the following macro bring to the application?
What is abstraction with real time example?
What is the copy-and-swap idiom?
Can we use this pointer in a class specific, operator-overloading function for new operator?
What is the difference between an enumeration and a set of pre-processor # defines?
Write about the scope resolution operator?
What are the sizes and ranges of the basic c++ data types?
Array base access faster or pointer base access is faster?
What are associate containers?
Do you know what is overriding?