How to properly dynamically allocate array in C?

后端 未结 0 1321
终归单人心
终归单人心 2021-01-12 02:44

When allocating array in C, what is the difference between the below two -

 int n;
 scanf("%d",&n);
 int array[n];

And



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