Vidyalelo
C++ Programming · Q948

C++ miscellaneous

Programming · C++ Programming · question 948

Q948

Which of the following(s) can be used to access the first element of a vector v?

A.
v.begin()
B.
v.cbegin()
C.
v[0]
D.
all of the mentioned
Answer

Answer: Option D

Solution

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