使用C++ sizeof 运算符来计算int, float, double 和char 变量占用的空间大小。 sizeof 运算符语法格式: sizeof(dataType);. 注意:不同系统计算结果可能不一样。 实例.
確定! 回上一頁