Fundamentals

Bits and Bytes

  • 1 byte = 8 bits

Variable Sizes

  • Note: These are usually the size of the data types. Implementations differ from compiler to compiler.

  • bool: 1 byte

  • char: 1 byte

  • int (64): 8 bytes

  • pointers: 4 bytes / 32 bits

results matching ""

    No results matching ""