Question: #include #define SIZE 4 #define SIZE 3 void main() { int x[SIZE1][SIZE2]={ {1,5,7} , {11,16,20} , {2,9,13} , {60,4,21} }; int i,j,max=0; for(i=0;i

#include #define SIZE 4 #define SIZE 3 void main() { int x[SIZE1][SIZE2]={ {1,5,7} , {11,16,20} , {2,9,13} , {60,4,21} }; int i,j,max=0; for(i=0;imax) max=x[i][j]; } } printf(" The maximum value in this array is = %d ", max); } Rewrite the program to work for a three dimensional array

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!