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

前端 未结 0 1326
长发绾君心
长发绾君心 2020-12-23 05:55

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:

<         


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