摘要:
#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 printf("数组a最大和最小元素下标是%d,%d\n", max1, min1); int max2=0, min2=0,b[]={3,4,71, 阅读全文