Size of Primitive data types

前端 未结 6 2196
旧时难觅i
旧时难觅i 2020-12-03 18:22

On what exactly does the size of a primitive data type like int depend on?

  • Compiler
  • Processor
  • Development Environment
6条回答
  •  春和景丽
    2020-12-03 18:37

    It depends on the implementation (compiler).

    Implementation-defined behavior means unspecified behavior where each implementation documents how the choice is made.

提交回复
热议问题