#include<string.h>intmain(){char arr[]="abcdef";printf("%d\n",sizeof(arr));// a b c d e f \0 一共7个字节printf("%d\n",sizeof(*arr));//为1printf("%d\n",sizeof(&arr));// 4/8printf("%d\n",sizeof(&arr +1));// 4/8printf("%d\n",strlen(arr));// a b c d e f \0 ,到\0为止, - 6printf("%d\n",strlen(&arr +1));//随机值printf("%d\n",strlen(&arr[0]+1));// - 5return0;}