Is there any other method could initialize an huge array with a specific value except using loops?

后端 未结 0 1646
忘了有多久
忘了有多久 2021-01-17 11:23

Is there any other method could initialize an array with a specific value except using loops?

For example: initializing all the elements of double array[1e5]

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