Dynamic arrays | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Dynamic arrays

If array is not dimensioned is it bad memory management ? Is it worse for multidimensional arrays ?

21st May 2019, 12:21 PM
Sanjay Kamath
Sanjay Kamath - avatar
1 Answer
+ 8
This fully depends on the code and language being used. Some languages don't ever specify dimensions, others must always specify all but the top most dimension, and the remaining must always specify all dimensions.
22nd May 2019, 4:35 AM
John Wells
John Wells - avatar