sizeof() :返回所查询目标所占用字节数 _countof() :返回所查询目标所含有元素个数 int aryInt[10]; size_t n = _countof(aryInt); 结果n=10