What is "map" in STL?
Answers were Sorted based on User's Feedback
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 |
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 |
Does there exist any other function which can be used to convert an integer or a float to a string?
What is #include cmath?
What is the return value of the insertion operator?
Write a C++ Program to check whether a number is prime number or not?
Is java the same as c++?
What is general format for a prototype?
Is oops and c++ same?
Why main function is special in c++?
What are templates? where we should use it?
Describe the process of creation and destruction of a derived class object?
How can you link a c program with a c function?
What is the difference between a "copy constructor" and an "assignment operator" in C++?