#include <stdio.h>
void main()
{
int fun1(int x,int y);
int fun2(int x,int y);
void fun(bool flag);
int flag;
int a,b,c;
printf("请输入两个整数:\n");
scanf("%d%d",&a,&b);
if (flag)
{
(*fun1)(a,b);
c=fun1(a,b);
printf("max=\n",c);
}
else
{
(*fun2)(a,b);
c=fun2(a,b);
printf("a=%d,b=%d\n",c);
}
}
int fun1(int x,int y)
{
int max;
if(x>y) max=x;
else max=y;
return (1);
}
int fun2(int x,int y)
{
int t;
t=x;
x=y;
y=t;
return 0;
}
心有法竹
守着星空守着你