Can array size or index be passed to a function along with the array in c?

前端 未结 0 1529
清歌不尽
清歌不尽 2020-12-23 00:53

I want to pass an array among one of the subarrays of an array to a function in C. This is how the function call looks like:

func(arr[cnt][]);
<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题