//自己把指针看懂后,编的的小程序,分享下小喜悦。#importint abc(*p1,t*p2,*p3){ int temp=*p1; if (temp<*p2) { temp=*p2; } if (temp<*p3) { temp=*p3; } return temp;} int main(int argc, const char * argv[]){ @autoreleasepool { int *p1,*p2,*p3; int a,b,c; scanf("%d%d%d",&a,&b,&c); p1=&a; p2=&b; p3=&c; int temp=abc(p1,p2,p3); printf("%d",temp); } return 0;}
转载于:https://www.cnblogs.com/ljwiOS/p/4813922.html
相关资源:JAVA上百实例源码以及开源项目