警告格式问题|warning: format '%d' expects type 'int *', but argument 4 has type
编译出现了这个警告warning: format '%d' expects type 'int *', but argument 4 has type求助!!!什么原因,应该怎么改啊
程序代码:
#define N 3 int i_1[N],i_2[N],i_3[N]; printf("第一行:"); scanf("%d %d %d",&i_1[0],&i_1[1],i_1[2]); printf("第二行:"); scanf("%d %d %d",&i_2[0],&i_2[1],i_2[2]); printf("第三行:"); scanf("%d %d %d",&i_3[0],&i_3[1],i_3[2]);