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
How to tokenize a string in c++?
Is vector a class in c++?
How would you obtain segment and offset addresses from a far address of a memory location?
What is the use of :: operator in c++?
Tell me can a pure virtual function have an implementation?
Do vectors start at 0?
What is a pdb file?
What is long in c++?
State the difference between delete and delete[].
What is size of string in c++?
Explain the uses oof nested class?
How would you use qsort() function to sort an array of structures?
What is wrapper class in c++?
What is the precedence when there is a global variable and a local variable in the program with the same name?
How delete [] is different from delete?