The limit depends on the Compiler.But, there is no clear fixed limit for this dimension. The reliability for the support goes down when we go for more dimenstions. 
 For eg, in gcc compiler, this depends on the back end code generator g77, the support for more dimensions is still under investigation. :-)
In C is there any limit for number of dimensions for Arrays...if yes why is the limit?
Firstly gave array capacity.  This time put memory allocation. That memory is executed.C program is very advanced. Array is arranged own work capacity memory.
Reply:-Arrays must take a space in the RAM
-and C only takes a limited space from RAM
-when this space finishes you wont be able to make the array bigger
-so there is a limit to the one dimension array
-the multi-dimensions array is a one dimension array with different index only
-so what limit the number of dimensions for Arrays is the space in RAM
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment