https://bbs.csdn.net/topics/110049293

#include <iostream>

using namespace std;

int main(){

    cout << "const变量实践:" << endl;

    // 必须加 volatile才会改变
const volatile int a111 = ; *((int*)&a111) = ;
cout<<a111<< endl;; cout << "a111:" << a111 << endl; register int b = ; cout << "b:" << b << endl; int *p1 = (int*)&a111;
cout << "*p11:" << *p1 << endl; int *p2 = &b;
cout << "*p2:" << *p2 << endl; cout << "end." << endl;
return ;
}

最新文章

  1. Python小白的发展之路之Python基础(二)
  2. android开发--ormlite
  3. DP ZOJ 2745 01-K Code
  4. [Everyday Mathematics]20150303
  5. HZNU1015: 矩阵排序
  6. ASP.net 判断上传文件类型的三种方法
  7. 设置Android程序的默认安装位置
  8. Powershell变量的幕后管理
  9. 一种SpringMVC调用Javascript的方法
  10. Android笔记: 播放提示音 的简单方法
  11. 为Python添加中文关键字
  12. ServiceStack 简单服务搭建
  13. Lintcode400 Maximum Gap solution 题解
  14. Linux系统优化脚本
  15. nodejs 实现跨域
  16. Oracle unusable index 与unvisible index
  17. SQLite3命令操作大全
  18. iOS UI基础-19.0 UICollectionView
  19. Windows Azure Storage (24) 启用Azure Blob日志
  20. draftsight的热补丁

热门文章

  1. 富文本编辑器--引入demo和简单使用
  2. apacheTop
  3. 初学者如何从零学习人工智能?(AI)
  4. 504错误解决办法 让你的浏览器强制在后端服务器执行而不用通过前端CDN服务器
  5. Codeforces 999
  6. springboot异常
  7. 【Python数据分析】用户通话行为分析
  8. hdu 5280 贪心 O(n)算法
  9. 绑定与非绑定以及property装饰器_day_21 作业题
  10. Python 3标准库 第五章 数学运算