strlen() 函数
摘要:
strlen() 函数通常用来计算字符串的长度,但是今天突然发现个奇怪的现象。如下所示:#include #include #include int main(){ char *str; int n = 0; str = (char *)malloc(30 * sizeof(cha... 阅读全文
posted @ 2015-02-01 01:27 Jeffrey.Downhouse 阅读(561) 评论(0) 推荐(0)