sizeof()和strlen()的区别

sizeof()操作符指出整个数组的长度。

strlen()只计算可见的字符,而不把空字符计算在内。

posted @ 2012-08-17 21:52  ValeTu  阅读(189)  评论(0编辑  收藏  举报