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
A. arr.front()
B. arr[0]
C. arr.begin()
D. None of the above
Answer: Option B
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