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/12/25 09:00:27
inta[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}};怎么

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
当然出错