1.

Which header file is required to use pair container in your program?(a) (b) (c) (d) I had been asked this question in semester exam.The above asked question is from STL in chapter Class Hierarchies, Library & Containers of C++

Answer»

The correct OPTION is (b)

Easy explanation - PAIR CONTAINER is DEFINED under the header file THEREFORE one should includeheader before using pair container.



Discussion

No Comment Found

Related InterviewSolutions