Examveda

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

C. 2 and 6

D. 2 and 2

Answer: Option B


This Question Belongs to Data Structure >> Arrays In Data Structures

Join The Discussion

Related Questions on Arrays in Data Structures