Which of the following is used to access the first element of an array in C++?
A. arr.front()
B. arr[0]
C. arr.begin()
D. None of the above
Answer: Option B
Related Questions on Introduction to C plus plus
What does the 'cin' object in C++ represent?
A. File output stream
B. File input stream
C. Standard output stream
D. Standard input stream

Join The Discussion