continue不是已经在for循环里面使用了吗?提示非法使用continue
int main() { int i, total; for (total = 0, i = 1; i >= 1; i++); { if (i % 2 == 0) { continue; } total = total * i; } printf("%d\n", total); }
收起
for循环那一行多加了分号
报告相同问题?