关于C语言指针输出方法,我不会啊
#include<stdio.h>int main()
{
int a[4][5]=
{10,20,30,40,50,
11,21,31,41,51,
12,22,32,42,52,
13,23,33,43,53};
int *p;
for(p=a[0];p<a[0]+20;p++)
{
printf("%d",*p);
}
return 0;
}
main.obj : error LNK2001: unresolved external symbol _average
Debug/main.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
main.exe - 2 error(s), 0 warning(s)
提示这些东西,搞不懂哪个地方错了,我是新手啊 求大神指点一二,跪求!
能不能用两个指针来输出 求大神教我啊!