Hi i was asked in an interview about this question. I did google a lot after the interview but still i can't get the clear solution. Can somebody tell me how i can return the (row,col) pairs (yes! return two values) using the function signature he mentioned.
void find(int A[][10], int m, int n, int target, int& row, int& col)