dimensional arrays can be created using loops. 2 dimensional arrays can be created using:

a-A While Loop with the Bundle Function

b-Nested Loops

c-A For Loop With the Bundle Function

d-Nested Bundling Functions

Respuesta :

Answer:

b-Nested Loops

Explanation:

To create a 1-D array we use single loop.For example:-

int a[10];

for(int i=0;i<10;i++)

{

    cin>>a[i];

}

Taking input of a 1-D array.

For creating a 2-D array we use nested loops.

int a[row][column];

for(int i=0;i<row;i++)

{

    for(int j=0;j<column;j++)

    {

          cin>>a[i][j];

    }

}

Hence the answer for this question is nested loops.

Q&A Education