早教吧作业答案频道 -->其他-->
程序哪错了提示说有个}没找着啊#include"stdio.h"#defineR3#defineC4voidmain(void){inta[3][4]={{1,2,3,4},{10,20,30,40},{1,2,3}};intb[4][3]={{1,1,1},{2,2,2}{3,3,3},{4,4,4}};intc[3][3]={0};inti,j,k;printf("originaldataofarray
题目详情
程序哪错了 提示说 有个} 没找着啊
#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 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
▼优质解答
答案和解析
少了个逗号
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}};
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}};
看了 程序哪错了提示说有个}没找着...的网友还看了以下:
程序哪错了提示说有个}没找着啊#include"stdio.h"#defineR3#defineC 2020-05-21 …