Is it possible to initialize and populate an array using recursion?

前端 未结 0 895
[愿得一人]
[愿得一人] 2020-12-07 01:27

The objective is to create an array of fixed size and populate it storing on each cell a number equal to the index of that cell ([0, 1, 2, 3, ...]).

Just out of curio

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