64,685
社区成员
发帖
与我相关
我的任务
分享
#include <iostream>
using namespace std;
int main()
{
char buf[100];
while (cin >> buf) cout << sizeof(char) * strlen(buf);
return 0;
}
#include <iostream>
using namespace std;
void main()
{
wchar_t b[] = L"中国";
cout<<sizeof(b)<<endl;
}
wchar_t b[] = L"VC知识库";
printf( "%d",sizeof(b) );