Question discussion

A 2D array in which there are different number of elements in each row is known as ______.

5184Medium DSSSB TGT Computer Science 0 replies 0 views
0
A 2D array in which there are different number of elements in each row is known as ______.
  • Adense
  • Birregular
  • Csparse
  • Dregular
Correct answer: B

Explanation

An array whose rows have different numbers of elements is called a jagged or irregular array.

Discussion 0

Nobody has replied yet. Start the discussion!