What is "map" in STL?

Answers were Sorted based on User's Feedback



What is "map" in STL?..

Answer / saroj das ,balsore

map class support an associative container in which
unique keys are mapped .with values. in essence ,a key is
simply name that you give to a value .once value you can
retrive it by using has been stored.

the most general sense, a map is a list of key /
value pairs .

Is This Answer Correct ?    3 Yes 0 No

What is "map" in STL?..

Answer / shakti singh khinchi

map is a associative container which is known for a key
value pair. Whereas key always unique and associated with a
non unique value.
maps are sorted on the basis of keys. They are simplified
form of hashing.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C++ General Interview Questions

What do you mean by persistent and non persistent objects?

1 Answers  


Explain the uses oof nested class?

0 Answers  


Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.

0 Answers  


What are virtual functions in c++?

0 Answers  


What is the difference between structure and class?

0 Answers  






How can I learn dev c++ programming?

0 Answers  


Problem 5: Hero's Formula is A method for calculating the area of a triangle when you know the lengths of all three sides. Let a, b, c be the lengths of the sides of a triangle. The area is given by:A= pp-ap-b(p-c) | wherep= a+b+c2 | | Write a C-language code to calculate area of triangle using above method. Take the three lengths of the triangle from the user and display the area that your program calculates.

0 Answers   Maxobiz,


What are the advantages of inheritance in c++?

0 Answers  


What are the benefits of c++?

0 Answers  


What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass

0 Answers  


What is an adaptor class or Wrapper class?

1 Answers  


what is multi-threading in C++?

0 Answers  


Categories