1.

Which of the following header file is needed to use vectors in your program?(a) (b) (c) (d) I have been asked this question by my college professor while I was bunking the class.I want to ask this question from seq_con Vector Class in chapter Class Hierarchies, Library & Containers of C++

Answer»

The CORRECT option is (b)

EXPLANATION: HEADER file contains all the IMPLEMENTATION of vector methods, hence we need to include this header file.



Discussion

No Comment Found

Related InterviewSolutions