问答详情
源自:1-1 初始C语言

/249/5095/F0ep/hello.c:3:13: error: parameter 'n' has just a forward declaration void ff(int n;int a[]) ^ /249/5095/F0ep/hello.c: In function 'ff': /249/5095/F0ep/hello.c:7:13: error: 'n' undeclared (first use in this function) for(i=0;i

/249/5095/F0ep/hello.c:3:13: error: parameter 'n' has just a forward declaration
void ff(int n;int a[])
            ^
/249/5095/F0ep/hello.c: In function 'ff':
/249/5095/F0ep/hello.c:7:13: error: 'n' undeclared (first use in this function)
  for(i=0;i

提问者:慕粉26 2017-01-08 23:31

个回答

  • Stek
    2017-01-09 00:16:54
    已采纳

    void ff(int n;int a[]) 改为 void ff(int n ,int a[])