3 ms·
According to this thread, it is not a true jagged array because each row has the same number of columns and each column the same number of rows. You can initial
by ironmagma 6y ago
According to this thread, it is not a true jagged array because each row has the same number of columns and each column the same number of rows. You can initialize it as a jagged array but it will still allocate it like a matrix.
https://stackoverflow.com/questions/1083658/do-jagged-arrays-exist-in-c-c https://stackoverflow.com/questions/1083658/do-jagged-arrays...
> the array will still have the shape [2][3]. If you want a true jagged array, you will have to create it dynamically.
- dm319 6y agoAh ok, I was discriminating between a true multidimensional array and array-of-array (which can be ragged).