C语言开发示例:22. 变长数组
extend_array.c
#include <stdio.h>
int main()
{
#ifdef __STDC_NO_VLA__
printf("Variable length arrays are not supported.\n");
exit(1);
#endif
size_t size;
printf("input size: ");
scanf("%d", &size);
int grades[size];
} 最后更新于1年前
本文由人工编写,AI优化,转载请注明原文地址: C语言开发示例:22. 变长数组
推荐阅读
评论 (0)
发表评论
昵称:加载中...
暂无评论,快来发表第一条评论吧!