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
If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?
What are references in c++? What is a local reference?
Define the operators that can be used with a pointer.
Can we change the basic meaning of an operator in c++?
Is swift faster than c++?
What is a singleton class c++?
What is the operator in c++?
How many types of modularization are there in c++?
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?
What are smart pointers?
What is function prototyping? What are its advantages?
What is this pointer in c++?
What are the uses of pointers?
What are the 3 levels of programming languages?
What is the difference between struct and class?