Hello everyone I had a problem compiling a piece of c code from the book. The result of running the book is 5050, but the compiler is 100. I don't know which is right, please help me to see which is wrong. Thank you very much! #include int main(void) { int i, sum = 0; i = 1; while ( i <= 100) { sum = sum + 1; i++; } printf("%d\n", sum) return 0; } | | cc | | 邮箱:caipenghui_c@163.com | 签名由 网易邮箱大师 定制