#include <stdio.h>
int dayu(int *,int *);
int dengyu(int *,int *);
int xiaoyu(int *,int *);
main()
{
printf("%d/n",panduan(1,2,(int (*)(void *,void *))dayu));
printf("%d/n",panduan(1,2,(int (*)(void *,void *))xiaoyu));
printf("%d/n",panduan(1,2,(int (*)(void *,void *))dengyu));
}
int panduan(int a,int b,int (*comp)(void *,void *))
{
return (*comp)(a,b);
}
int dayu(int *a,int *b)
{
if(a>b)
return 1;
return 0;
}

int dengyu(int a,int b)
{
if(a==b)
return 1;
return 0;
}
int xiaoyu(int a,int b)
{
if(a<b)
return 1;
return 0;
}