4-17switch與if
hello.c: In function 'main': hello.c:11:16: error: 'sum' undeclared (first use in this function) ? ? ? ? case 1:sum=0;break; ? ? ? ? ? ? ? ?^~~ hello.c:11:16: note: each undeclared identifier is reported only once for each function it appears in ? 什么意思? 好不易打完
2018-01-07
sum是不是沒有定義?