1.volatile 2.const 3.static 转自: https://blog.csdn.net/xy010902100449/article/details/48441785 https://blog.csdn.net/neuq521/article/details/8524117 https://blog.csdn.net/windsnow1/article/details/87929904