摘要: main() { char s[30]; strcpy(s, "Good News!"); /*给数组赋字符串*/ . . . } 上面程序在编译时, 遇到char s[30]这条语句时, 编译程序会在内存的某处留 出连续30个字节的区域, 并将第一个字节的地址赋给s。当遇到strcpy( strc... 阅读全文
posted @ 2014-07-08 09:15 lcchuguo 阅读(504) 评论(0) 推荐(0)