摘要:
#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,而不是*a,*max,*min,而&max1是地址。; printf("数组a最大和最小元素下标是%d,%d\n", max1, m 阅读全文