摘要:
先看程序:#include using namespace std;int main(int argc, char* argv[]){ char *a = "abcde"; char sz1[] = "abc"; char sz2[] = {"abc"}; char sz3[] = { 'a', 'b', 'c' }; printf_s( "%d %d %d %d", _sizeof(a), _countof(sz1), _countof(sz2), _countof 阅读全文