Do you know that? biggest challenge for 41.8% freelancers is to find clients next

Write a C function that computes that maximum of a specific row R in a 2D array of size 6 by 5?

int MaxOfRow( int a[][5], int ROWS, int searched_row)
 { int max;
 max=a[searched_row][0];
 for (int c=0; c<5;c++)
 if (a[searched_row][c]>max)
 max=a[searched_row][c];
 return max;
 }