![]() |
#2
mqh213642008-07-10 09:15
|
下面的语句是程序中的一段
...
goto end;
int a=5;
end : ;
...
产生如下错误:
initialization of 'a' is skipped by 'goto end'
但是若goto 与 end: 语句之间没有变量的定义,只有其它语句时,就不会产生错误,
不知道为什么。