Code:#include <iostream> using namespace std; int HighestTemp(int**, const int, const int); int HighestTemp(int** temp, const int row, const int col) { int highest = 0; for (int i=0; i<row; i++) { for (int j=0; j<col; j++) { if((int)*(temp+i*col+j) > highest) { highest = (int)*(temp+i*col+j); } } } return highest; } int main() { int temp[3][3]={1,2,3,4,5,6,7,8,9}; int h=HighestTemp((int**)temp, 3, 3); cout << h << endl; return 0; }