int a[4][5]={{89,87,89,85,86},{87,89,96,92,94},{87,89,85,84,78},{79,89,69,58,95},{98,95,95,94,96}};怎么出现错误?error C2078:too many initializers

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/19 11:30:17
int a[4][5]={{89,87,89,85,86},{87,89,96,92,94},{87,89,85,84,78},{79,89,69,58,95},{98,95,95,94,96}};怎么出现错误?error C2078:too many initializers
x)+QH66Ա0:f: \$mcn0 YZX,A45Z?k{i}^NbzԢ"g#s |ļJ̼̒Ĝ̪Ԣb"}z lY/ g r .dWs:M_,ywUOz,t-ۀm/.H̳.ö

int a[4][5]={{89,87,89,85,86},{87,89,96,92,94},{87,89,85,84,78},{79,89,69,58,95},{98,95,95,94,96}};怎么出现错误?error C2078:too many initializers
int a[4][5]={{89,87,89,85,86},{87,89,96,92,94},{87,89,85,84,78},{79,89,69,58,95},{98,95,95,94,96}};
怎么出现错误?error C2078:too many initializers

int a[4][5]={{89,87,89,85,86},{87,89,96,92,94},{87,89,85,84,78},{79,89,69,58,95},{98,95,95,94,96}};怎么出现错误?error C2078:too many initializers
int a[5][5] 就好了
有5行,你只定义4
当然出错