Jagged Arrays

Jagged Arrays

Jagged Arrays are multidimensional arrays containing rows of varying lengths. A simple multidimensional array is rectangular because it's rows has the same number of columns, but jagged arrays can have different…