企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
在支持c99标准的编译器中,可以使用变量定义数组。 1. 微软官方描述vs2013编译器不支持c99.: Microsoft C conforms to the standard for the C language as set forth in the 9899:1990 edition of the ANSI C standard. 2. 以下代码在Linux GCC支持c99编译器编译通过 ~~~ int main() { int a = 10; int arr[a]; getchar(); return 0; } ~~~