lets say I have declared:
int* array=new int[SIZE];
(I used this array as if it was a 2D array - lets say that I'll consider these dimensions: row, column).
and I want to pass this array to a function that will fill the array row by row.
(The function will calculate an array of size row and I want to put this array on the row of the original array).
I'll fill it like this: