Hi,
is the code below OK?
Code:#define ROWS 5 #define COLUMNS 6 int some_function(int arr[2][2]) // bounds not equal to the real bounds of the array being passed { arr[4][3] = 65; // Is this OK? Exceeds the bounds specified in the parameter but not the bounds of the "real" array being passed } int main() { int array[ROWS][COLUMS]; some_function(array); }