1.char* c=new char[10];
c[0]='a';
//cout<<strlen(c);输出未知.如果输入用cin时自动添加‘\0’
c[1]='\0';cout<<strlen(c);//1
2.整数加 ‘0’后会隐性的转化为char类型;字符减 ‘0’隐性转化为int类型