A non-rectangular array is an array where each row can have a different number of columns.
Jagged Array: It is another term used to describe non-rectangular arrays because their rows have varying lengths, resembling jagged edges.
Two-dimensional Array: Unlike non-rectangular arrays, two-dimensional arrays have fixed dimensions with equal numbers of rows and columns.
This term refers to arrays that contain other arrays as their elements.