Best method to create a sub array from an array in C

后端 未结 0 1057
北荒
北荒 2021-02-11 20:49

I have an array say a[3]={1,2,5} . I have to create another array a2[2]={2,5}.

What I have tried is to just create a new array a2[]

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