How to UNIVERSALLY determine the number of elements in a 1D array?

前端 未结 0 1946
借酒劲吻你
借酒劲吻你 2020-12-23 06:13

How to write a function that will return the number of elements in any 1D array regardless of its data type ?

So far I have devised the following function:

<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题