Vidyalelo
C++ Programming · Q2

Arrays and Strings in C++

Programming · C++ Programming · question 2

Q2

How do you access the third element of an array named 'arr' in C++?

A.
arr(3)
B.
arr[3]
C.
arr[2]
Answer
D.
arr(2)

Answer: Option C

Solution

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