哪位高手可以帮我找找错呀,,谢谢了
错在哪里?????#include "stdio.h"
void main()
{int max(int,int);
int process(int x,int y,int (* P)(int,int));
int a,b;
printf("输入:\n");
scanf("%d,%d",&a,&b);
printf("max=%d",process(a,b,max));
}
int max(int x,int y)
{int z;
if(x>y)z=x;
else z=y;
return(z);
}
int process(int x,int y,int (* P)(int,int))
{int r;
r=(* p)(x,y);
return(r);
}