Does the size of an int depend on the compiler and/or processor?

前端 未结 10 1498
借酒劲吻你
借酒劲吻你 2020-11-22 11:58

Would the size of an integer depend upon the compiler, OS and processor?

10条回答
  •  佛祖请我去吃肉
    2020-11-22 12:37

    http://www.agner.org/optimize/calling_conventions.pdf

    "3 Data representation" contains good overview of what compilers do with integral types.

提交回复
热议问题