【简答题】
补充完整程序,使程序打印出数组a中的最大值。(注意,不能有空格、大小写注意、英文符号)#include
int findmax(int* array,int size);void main(){ int a[]={33,91,23,45,56,-12,32,12,5,90}; printf("The max is %d\n",_________); getch();}int findmax(int *array,int size){ int i, max; for(i=1; i
max) max=array[i]; return max;}
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
收藏
举报
参考答案:
参考解析: