作业帮 > 综合 > 作业

求一组数中的最大值.要求写一个返回最大值地址的函数.

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/15 12:22:00
求一组数中的最大值.要求写一个返回最大值地址的函数.
#include "stdio.h"
int* max(int *b,int n)
{int max=*b,i=0;
for(;n>0;n--)
if(max