Expected expression before ']' token?

前端 未结 4 948
青春惊慌失措
青春惊慌失措 2021-01-26 15:43

I have the following line which sends the arguments args[] and length to a method called largest.

  printf(\"Largest is: %         


        
4条回答
  •  南笙
    南笙 (楼主)
    2021-01-26 16:08

    You probably just want the pointer of the array, so pass in largest(args, length) instead.

提交回复
热议问题