Data Structures

  • Specifies how data is placed.

  • It is like a map.

  • Data structure itself is not recorded.

typedefstruct{
    char name[32];                // 32 bytes
    char postalcode[16];          // 16 bytes
    uint32_t partner_num;         // 4 bytes
    float quota;                  // 4 bytes
    char empty[8];                // 8 bytes to lineup the structure to multiples of 16 bytes
};                                // Total = 64 bytes

Last updated