|
아래 예문을 실행하면 extra parameter in call to plus~ 라고 나옵니다. 어떤게 문제지 알려주세요..
#include <stdio.h>
static int a=150;
static int b=350;
static int c;
plus();
main()
{
int a,b,c;
a=150;
b=350;
plus(a,b,&c);
printf("%d + %d = %d\n",a, b, c);
}
plus(x,y,z)
int x,y,*z;
{
*z=x+y;
}
|