可以用来求字符数组的元素个数
#include <stdio.h>
#include <string.h>
void main()
{
char psz[] = "abcd";
printf("%p\n",&psz[0]);
printf("%d\n",strlen(psz));
}
输出 4