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...


What is the difference between std::vector and std::list



What is the difference between std::vector and std::list..

Answer / nashiinformaticssolutions

o Vector: Uses contiguous memory and supports random access.
o List: Uses linked nodes and is better for frequent insertions/deletions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;

0 Answers  


Explain the differences between list x; & list x();.

0 Answers  


Explain overriding.

0 Answers  


Write a C program to calculate the salary of each employee in your company. You need to input the hours worked and the hourly rate. The company pays 1.5 times the hourly rate for all hours worked in excess of 48 hours. Use the formulas below to calculate the salary: if employee worked less than 48 hours salary = hours * rate; if employee worked more than 48 hours salary = 48.0 * rate + ( hours &#8722; 48.0 ) * rate * 1.5; You are required to use a loop to produce the sample output as given below.

1 Answers  


What is lambda expression c++?

0 Answers  


What is function overriding?

1 Answers  


What are libraries in c++?

0 Answers  


What is the handle class?

1 Answers  


Is arr and &arr are same expression for an array?

0 Answers  


What is a parameterized type?

1 Answers  


What is virtual base class?

0 Answers  


What are the methods of exporting a function from a dll?

0 Answers  


Categories