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

Which sort does c++ use?

0 Answers  


Define stacks. Provide an example where they are useful.

0 Answers  


What is new in c++?

0 Answers  


Does c++ have a hash table?

0 Answers  


Why pointer is used in c++?

0 Answers  






What are the steps in the development cycle?

0 Answers  


What do you mean by overhead in c++?

0 Answers  


Difference between class and structure.

0 Answers  


What does asterisk mean in c++?

0 Answers  


What are all predefined data types in c++?

0 Answers  


What is a hash function c++?

0 Answers  


Write a program to find the Factorial of a number

0 Answers  


Categories