Finding Max Number in an Array C Programming

前端 未结 4 1573
被撕碎了的回忆
被撕碎了的回忆 2020-12-20 10:21

I am trying to find the max number in an array. I have created a function and I am using the following code:

int maxValue( int myArray [], int size)
{
    in         


        
4条回答
  •  轮回少年
    2020-12-20 10:56

    the paren after the for seems to be missing some contents.

    normally it should be something like

    for (i=0; i

提交回复
热议问题