Question: consider the following array in the main function main ( ) { int a [ 2 ] [ 3 ] = { 1 , 2

consider the following array in the main function
main(){
int a[2][3]={1,2,3,4,5,6};
print (a);
}
Which of the following print functions do print the elements in the array?
a. void print (int a
{
for (int i=0;i<2;i++)
for (int j=0;j<3;j++)
}
cout })=0;i<(2;i++)=0;j<(3;j++{)=0;i<(2;i++)=0;j<(3;j++{})=0;i<(2;i++)=0;j<(3;j++{

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!