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 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
Get step-by-step solutions from verified subject matter experts
