#include<stdio.h>
int main(void)
{
int a=3,b=4;
int c;
c = max_min(a,b);
printf("the max no is %d\n",c);
}
int max_min(int a,int b)
{
if(a>b)
return a;
else if(b>a)
return b;
}
Error: 'max_min' was not declared in this scope c = max_min(a,b);函数如何在程序中看到其他函数?
请帮我
这是一个*非常* Googleable之前指定功能错误信息。你本可以更快地得到自己的答案,而不会浪费别人的时间。 –
的[在此范围内没有声明功能]可能的复制(http://stackoverflow.com/questions/23327630/function-not-declared-in-this-scope)和数百人的 –
功能的可能的复制不在此声明范围和其他数百人 – abhiarora