Home > Back-end >  C language array length input
C language array length input

Time:10-22

Why ask bosses guidance input cannot compile VC array length, other compiler can ah

CodePudding user response:

Compiler, syntax parsing are not the same as
The dynamic array with variable declaration is c99 standard, or into a standard dynamic application memory (memory after their release),
Int * a=(int *) malloc (sizeof (int) * n);
This can better transplant, or you change the compiler may be wrong,
  • Related