字符串char *a = "\t\"NULL\111?\n"的长度是多少
请指教啦
char *a = "\t\"NULL\111?\n"
cout<<sizeof(a)<<endl; 答案是4
char a[] = "\t\"NULL\111?\n"
cout<<sizeof(a)<<endl; 答案是10