摘要:
#include void findByPoint(int *, int, int *, int *);void find(int *a, int n, int max, int min);int main(void){ int max1=0, min1=0, a[]={5,3,7,9,2,0,4,1,6,8}; findByPoint( a,10,&max1,&min1); /*自定义函数,指针变量是a,max,min;&max1是地址*/ printf("数组a最大和最小元素下标是%d,%d\n", max1, min1); int max2=0 阅读全文