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 |
Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).
Can c++ do everything c can?
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
How to declare an array of pointers to integer?
what is the basic concept of c++(object oriented programing)
What is the use of main function in c++?
What is implicit conversion/coercion in c++?
What are the storage qualifiers?
Difference between an inspector and a mutator
What is the use of seekg in c++?
What is the difference between structures and unions?
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?