Vidyalelo
Data Structure · Q32

Arrays in Data Structures

Programming · Data Structure · question 32

Q32

Which of the following is a method to find the length of an array in C++?

A.
size()
B.
length()
C.
sizeof(array)/sizeof(array[0])
Answer
D.
array.size()

Answer: Option C

Solution

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