Ask Question
24 July, 20:19

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

+2
Answers (1)
  1. 24 July, 20:39
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers