#include<iostream>
using namespace std;
void main(){
cout << sizeof('\0') << endl; //输出1
//cout << strlen('\0') << endl; 运行时出错
cout << strlen("\0") << endl; //输出0
system("pause");
}
using namespace std;
void main(){
cout << sizeof('\0') << endl; //输出1
//cout << strlen('\0') << endl; 运行时出错
cout << strlen("\0") << endl; //输出0
system("pause");
}