Hands-On System Programming with C++
上QQ阅读APP看书,第一时间看更新

Questions

  1. What is the difference between a short int and an int?
  2. What is the size of an int?
  3. Is the size of a signed int and an unsigned int different?
  4. What is the difference between an int32_t and an int?
  5. Is an int16_t guaranteed to be 16 bits?
  6. What does #pragma pack do?
  7. Is it possible to guarantee structure packing in all cases?