摘要: 先看程序:#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 阅读全文
posted @ 2014-03-20 18:54 榕树下的愿望 阅读(265) 评论(0) 推荐(0) 编辑