Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Difference between vector and array

Answers were Sorted based on User's Feedback



Difference between vector and array..

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

Difference between vector and array..

Answer / rdurgalakshmi

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

Post New Answer

More OOPS Interview Questions

what is the use of template classes in c++

1 Answers  


Is abstract thinking intelligence?

0 Answers  


There are 2 classes defined as below public class A { class B b; } public class B { class A a; } compiler gives error. How to fix it?

3 Answers   Microsoft,


What is a macro? And how is a macro same as a template?

4 Answers  


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

0 Answers  


How do you define a class in oop?

0 Answers  


What is oops?what is its use in software engineering?

0 Answers  


c++ program to swap the objects of two different classes

0 Answers  


Why we use classes in oop?

0 Answers  


Can abstract class have normal methods?

0 Answers  


Explain the advantages of inheritance.

0 Answers   TCS,


What is class and object with example?

0 Answers  


Categories