代码:
#include <stdio.h>#include <string.h>#include <stdlib.h>int min(int a, int b){ if (a < b) return a; else return b;}int main(){ int (*pmin)(); int a,b,m; pmin = min; PRintf("Please input two integer numbers :/n"); scanf("%d%d",&a,&b); m = (*pmin)(a,b); printf("%d/n",m); return 0;}运行结果:
新闻热点
疑难解答