Question: The following function prints the elements that are placed at the diagonal of a 4x4 array, pick the correct statement for missing part; void printDiagonal(const

 The following function prints the elements that are placed at the

The following function prints the elements that are placed at the diagonal of a 4x4 array, pick the correct statement for missing part; void printDiagonal(const int arr[][4], int row, int col) { printf(" The diagonal is : "); int i; printf("%d", arr[i][j]); } a) for(i=0; i

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!