Update README.md
This commit is contained in:
parent
8df484f325
commit
e33eadcbb3
@ -76,6 +76,7 @@ int main(){
|
||||
```
|
||||
|
||||
<p><font style="color:red">小结:可以发现未被const修饰的变量不需要extern显式声明!而const常量需要显式声明extern,并且需要做初始化!因为常量在定义后就不能被修改,所以定义时必须初始化。</font></p>
|
||||
|
||||
## 4.定义常量
|
||||
|
||||
```c++
|
||||
|
Loading…
Reference in New Issue
Block a user