Analyze the below code and fill in the blanks to complete the code #include int main() { int Array1 [2][3]={{10,20,30},{11,21,31}}; int Array2 [___][___]={{1,2,3,5,6},{8,9,10,11,12},{10,20,30,40,50}};          for (int a = 0;a < 2; a++)         {             for (int b = 0;b < 4; b++)       {       printf("Array2 [%d][%d] = %d \n",a,b, Array2 [a][b]);               }                     } for (int c = 0;c < __; c++)         {             for (int d = 0;d < __; d++)       {       printf("Array [%d][%d] = %d \n",__,__, Array1 [__][__]);               }                     } }

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 12RQ
icon
Related questions
Question

Analyze the below code and fill in the blanks to complete the code

#include <stdio.h>

int main()

{

int Array1 [2][3]={{10,20,30},{11,21,31}};

int Array2 [___][___]={{1,2,3,5,6},{8,9,10,11,12},{10,20,30,40,50}};

 

       for (int a = 0;a < 2; a++)

        {

            for (int b = 0;b < 4; b++)

      {

      printf("Array2 [%d][%d] = %d \n",a,b, Array2 [a][b]);

 

            }

           

        }

for (int c = 0;c < __; c++)

        {

            for (int d = 0;d < __; d++)

      {

      printf("Array [%d][%d] = %d \n",__,__, Array1 [__][__]);

 

            }

           

        }

}

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr