看了半天,怎么还是提示有错误啊?
#include <stdio.h>int a(int x,int y);
void main()
{
int i;
int n,m;
if(1==1)
scanf("%d,%d\n",&m,&n);
i=a(int n,int m);
printf("i=%d\n",i);
printf("hello world!\n");
}
int a(int x,int y)
{
int a,b,c;
c=a+b;
return c;
}
#include <stdio.h> int a(int x,int y); void main() { int i; int n,m; if(1==1) scanf("%d%d",&m,&n); i=a(n,m); printf("i=%d\n",i); printf("hello world!\n"); } int a(int x,int y) { int c; c=x+y; return c; }