【发布时间】:2017-09-19 07:06:32
【问题描述】:
#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;
}
错误:“max_min”未在此范围内声明 c = max_min(a,b);
请帮帮我
【问题讨论】:
-
这是一条非常可通过 Google 搜索的错误消息。您自己可以更快地得到答案,而不会浪费任何人的时间。
-
Function not declared in this scope 和其他数百个可能重复
-
未在此范围内声明的函数和其他数百个函数的可能副本
标签: c