mirror of
https://github.com/Light-City/CPlusPlusThings.git
synced 2026-02-03 10:33:25 +08:00
fix #292: fix typo error '修该' to '修改'
This commit is contained in:
@@ -80,7 +80,7 @@ void threadFunc2()
|
||||
可以。一个例子是只读的状态寄存器。它是volatile因为它可能被意想不到地改变。它是const因为程序不应该试图去修改它。
|
||||
|
||||
(2)一个指针可以是volatile吗?为什么?
|
||||
可以。尽管这并不常见。一个例子是当一个中断服务子程序修该一个指向一个buffer的指针时。
|
||||
可以。尽管这并不常见。一个例子是当一个中断服务子程序修改一个指向一个buffer的指针时。
|
||||
|
||||
(3)下面的函数有什么错误?
|
||||
```c++
|
||||
|
||||
Reference in New Issue
Block a user