2024年10月15日 17:12
Some checks are pending
Deploy / build (push) Waiting to run
Deploy / Deploy (push) Blocked by required conditions

This commit is contained in:
许大仙 2024-10-15 09:12:08 +00:00
parent a59ffa2dbc
commit 19c2b3eba2

View File

@ -2159,7 +2159,7 @@ int main() {
} }
``` ```
* 其实,这支持 C 语言的编译器在语法层面的限制而已:`我们无法通过变量名去修改一个 const 常量的取值,否则将会编译失败`。但是,作为程序员,我们可以在程序运行的时候,去修改 const 常量的值。 * 其实,这只是 C 语言的编译器在语法层面的限制而已:`我们无法通过变量名去修改一个 const 常量的取值,否则将会编译失败`。但是,作为程序员,我们可以在程序运行的时候,去修改 const 常量的值。
```c {10,12,14} ```c {10,12,14}
#include <stdio.h> #include <stdio.h>