Vidyalelo
C++ Programming · Q25

Introduction to C++

Programming · C++ Programming · question 25

Q25

What is the correct way to include a C++ standard library header file named 'vector' in a C++ program?

A.
#include <vector>
Answer
B.
#include "vector.h"
C.
#include <vector.h>
D.
#include "vector"

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board