💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
在支持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; } ~~~