lundi 28 août 2017

What is the maximum number of dimensions allowed for an array ?What is the reason behind its limitation.?

what is the maximum number of dimensions that you can use when declaring an array?

For Example..

#include<iostream.h>
#include<conio.h>
{

       int a[3][3][3][4][3];
        clrscr();
        a[3][3][3][4][3]=9;
}


so,how many time we declare it. What is limitation of it?? and What is reason behind it??

Aucun commentaire:

Enregistrer un commentaire