正在加载图片...
函数 有参函数举例: int max(int a[, int n) Int 1, temp for(i=0;i<n-1;i++) f if(a[i]>a[i+lD temp=al a[i=a[i+1]; ai+l=temp;) return(an-ID函数 有参函数举例: int max(int a[],int n) { int i,temp; for (i=0;i<n-1;i++) { if (a[i]>a[i+1]) {temp=a[i]; a[i]=a[i+1]; a[i+1]=temp; } } return(a[n-1]); }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有