Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Light-City committed May 4, 2020
1 parent 8df484f commit e33eadc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions basic_content/const/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ int main(){
```

<p><font style="color:red">小结:可以发现未被const修饰的变量不需要extern显式声明!而const常量需要显式声明extern,并且需要做初始化!因为常量在定义后就不能被修改,所以定义时必须初始化。</font></p>

## 4.定义常量

```c++
Expand Down

0 comments on commit e33eadc

Please sign in to comment.