那位计算机高手帮忙看下啊,我标红的地方怎么改啊
#include <stdio.h>
main(){
int a =3,b=4;
int result=0;
result = add(a,b);
show(result);
}
int add(int x,int y) {
int z =x+y;
return z;
不用改啊,
不过要在main函数之前声明一下add和show函数
#include <stdio.h>
int add(int x,int y);
void show(int k);
main(){
int a =3,b=4;
int result=0;
result = add(a,b);
show(result);
}
...
...