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

Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).

0 Answers  


Can c++ do everything c can?

0 Answers  


Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.

0 Answers   TCS,


How to declare an array of pointers to integer?

0 Answers  


what is the basic concept of c++(object oriented programing)

4 Answers   Wipro,






What is the use of main function in c++?

0 Answers  


What is implicit conversion/coercion in c++?

1 Answers  


What are the storage qualifiers?

0 Answers  


Difference between an inspector and a mutator

0 Answers  


What is the use of seekg in c++?

0 Answers  


What is the difference between structures and unions?

0 Answers  


How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?

0 Answers  


Categories