Put array variable in multidimensional array

前端 未结 0 954
悲&欢浪女
悲&欢浪女 2020-12-10 18:49

I want the following

int ring1[5] = {1,2,3,4,5};
int ring2[5] = {6,7,8,9,10};
int ring3[5] = {11,12,13,14,15};
int rings[3][5] = {ring1, ring2, ring3};


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