您的位置:首页 > 运维架构

C : stack memory, goto and “jump into scope of identifier with variably modified type”,

2015-11-07 12:57 253 查看
在goto语句的后面,如果出现#define M 5

goto lable;

int a[M];

.......

.......

lable:

printf("error\n");

这时候会出现如题错误;查证之后,好像是因为内存的原因,具体如何待有时间再做研究。可以这样修改‘

goto lable;

{

int a[M];

.......

.......

}

lable:

printf("error\n");

先做个记录


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: