免费注册
查看新帖
|
平台
论坛
博客
文库
动态
2013-11-27
菜单
sha-ka
发表了新话题
2013-11-27 10:19
内存管理中局部常量为什么有的改变,有的不改变?
#include #include const int ci=100; int main() { int *pi=(int*)&ci; // *pi=200; const int ci2=300; //ci2=200; pi=(int*)&ci2; *pi=200; ...
菜单
sha-ka
回复了
_BlueGuy__
的话题
OwnWaterloo 我们群加人,诚邀你进群
2013-11-27 10:11
2013-10-02
菜单
sha-ka
发表了新话题
2013-10-02 20:23
为什么同样的一句代码,所编译的结果不同?
1. #include int main() { struct student{ char * name; int score; }; struct student st={"Brian",97}; struct student *ptr=&st; prin ...
sha-ka
串门
好友
博客
消息
积分 0, 距离下一级还需 积分