1.

Which is used for manually writing lookup table?(a) std:map(b) std:lookup(c) std:find(d) std:lockThis question was posed to me during an interview.I need to ask this question from Container Design in chapter Class Hierarchies, Library & Containers of C++

Answer»

Correct answer is (a) STD:map

Explanation: LOOKUP table means storing values in a table with unique keys for each value so that can be CHECKED in future easily. So for such lookup tables maps are USED in C++.



Discussion

No Comment Found

Related InterviewSolutions