A

Admin • 833K Points
Coach

Q. Which header file is required to use the std::vector container in C++?

  • (A) <vector>
  • (B) <array>
  • (C) <list>
  • (D) <set>
  • Correct Answer - Option(A)
  • Views: 32
  • Filed under category C++
  • Hashtags:

Explanation by: Admin

The 'std::vector' container requires the <vector> header file.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.