Difference between vector and array
Answers were Sorted based on User's Feedback
Answer / xxx
vector is also an array but the size of a vector can change
dynamically where in array its fixed.
we can create some reserve space in vector where in array we
cannot.
Is This Answer Correct ? | 9 Yes | 1 No |
Vector manages memory allocations, manages in the sense, it
provides constructor,copy constructor,assignment operator,
destructor etc. whereas array doesn't.
Is This Answer Correct ? | 0 Yes | 1 No |
Write a program to reverse a string using recursive function?
Prepare me a program for the animation of train
what is use to destroy an object? illustrate.
WAP to generate 2n+1 lines of the following pattern on the computer screen:
explain sub-type and sub class? atleast u have differ it into 4 points?
What does the keyword "static" mean?
Explain polymorphism? What r the types of polymorphism? pls give examples?
Why we are use # in begning of programme of c++.
why function overloading is not called as pure polymorphism?
what is the difference between containership and inheritence?
write a program to find 2^n+1 ?
what is difference between class template and template class?