Difference between 1D array and 2D arrays?

1 answer

Answer

1200968

2026-07-24 21:45

+ Follow

1d array contains single row and multiple columns and 2d array contains multiple row and multiple columns.

2d array is a collection of 1d array placed one below another,while 1d array is simple a collection of elements.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.