What is the Difference between "vector" and "array"?
Answer Posted / vishwa
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 ? | 136 Yes | 17 No |
Post New Answer View All Answers
What are different types of loops in c++?
What are the four partitions in which c++ compiler divides the ram?
What is the use of endl in c++ give an example?
Which is most difficult programming language?
Is it possible to provide default values while overloading a binary operator?
Do you know about C++ 11 standard?
What does it mean to declare a destructor as static?
What is the error in the code below and how should it be corrected?
What are the sizes and ranges of the basic c++ data types?
what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
What do the keywords volatile and mean mutable?
What is isdigit c++?
Explain about Garbage Collector?
Which software is used to run c++ program?