

CodePudding user response:
Compiler, syntax parsing are not the same asThe 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,