Giving the Size to an Array with a Variable

后端 未结 0 1978
囚心锁ツ
囚心锁ツ 2020-12-13 03:17

I\'ve been trying to give an array its size through a variable, but it\'s not working because "must have a constant value".

int processes[] = { 1, 2         


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