I know when we want to assign values to 2D arrays as we declare the array, we do this:
int myArray[2][4] = {{1,2,3,4},{5,6,7,8}};
But how should I assign values "after" declaring it? I want to do something like this:
int myArray[2][4];
myArray = {{1,2,3,4},{5,6,7,8}};
When I do it, the compiler gives error. Help please.