Vidyalelo
Data Structure · Q130

Arrays in Data Structures

Programming · Data Structure · question 130

Q130

Suppose the contents of an array A are, A = 1, null, null, null, null, 10; What would be the size of the array considering it as a normal array and a sparse array?

A.
6 and 6
B.
6 and 2
Answer
C.
2 and 6
D.
2 and 2

Answer: Option B

Solution

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