Ask Question
28 September, 07:45

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

+3
Answers (1)
  1. 28 September, 09:54
    0
    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
    {

    for (int j=0; j
    {

    cin>>a[i][j];

    }

    }

    Hence the answer for this question is nested loops.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Dimensional arrays can be created using loops. 2 dimensional arrays can be created using: a-A While Loop with the Bundle Function b-Nested ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers