Does anyone see why this line would cause the error?
Yes, and the error message says what is the problem: you are trying to initialise a two dimensional array with a two dimensional array whose inner array has more elements than that specified by the two dimensional array to be initialised.
You probably want to write:
Code:
int multi[3][4] = {{1,2,3,4},{5,6,7,8},{9,10,11,12}};
or if you are lazy:
Code:
int multi[3][4] = {1,2,3,4,5,6,7,8,9,10,11,12};
However, I am usually confused by multi-dimensional arrays, so I try not to be lazy for my own sake.