#include<stdio.h>
main()
{
char c1[]={'I',' ','a','m',' ','h','a','p','p','y'};
char c2[]="I am happy";
int i1=sizeof(c1);/*sizeof 测试变量或字符数组所占的字节数*/
int i2=sizeof(c2);
printf("%d\n",i1);
printf("%d\n",i2);
}