摘要: #include <iostream> void foo(char *p){ p = "after foo()";} void main(){ char *p = "before foo()"; foo(p); cout <<p <<endl; } 看到这个,大家很熟悉吧,估计c++面试题中会出现不 阅读全文
posted @ 2016-03-25 17:04 Haha哈哈哈 阅读(390) 评论(0) 推荐(0) 编辑