程序哪错了 提示说 有个} 没找着啊#include "stdio.h"#define R 3#define C 4void main(void){int a[3][4]={{1,2,3,4},{10,20,30,40},{1,2,3}};int b[4][3]={{1,1,1},{2,2,2}{3,3,3},{4,4,4}};int c[3][3]={0};int i,j,k;printf("original data of array
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 11:55:44
程序哪错了 提示说 有个} 没找着啊#include "stdio.h"#define R 3#define C 4void main(void){int a[3][4]={{1,2,3,4},{10,20,30,40},{1,2,3}};int b[4][3]={{1,1,1},{2,2,2}{3,3,3},{4,4,4}};int c[3][3]={0};int i,j,k;printf("original data of array
程序哪错了 提示说 有个} 没找着啊
#include "stdio.h"
#define R 3
#define C 4
void main(void)
{
int a[3][4]={{1,2,3,4},{10,20,30,40},{1,2,3}};
int b[4][3]={{1,1,1},{2,2,2}{3,3,3},{4,4,4}};
int c[3][3]={0};
int i,j,k;
printf("original data of array a and b is bellow:\n");
printf("---------------------------------------------\n");
printf("the first array a[3][4]:\n");
for(i=0;i
程序哪错了 提示说 有个} 没找着啊#include "stdio.h"#define R 3#define C 4void main(void){int a[3][4]={{1,2,3,4},{10,20,30,40},{1,2,3}};int b[4][3]={{1,1,1},{2,2,2}{3,3,3},{4,4,4}};int c[3][3]={0};int i,j,k;printf("original data of array
少了个逗号
int b[4][3]={{1,1,1},{2,2,2}{3,3,3},{4,4,4}};
改成:
int b[4][3]={{1,1,1},{2,2,2},{3,3,3},{4,4,4}};