“A variable occupies memory space that is larger or equal to its size.” Is it right?

前端 未结 0 1442
生来不讨喜
生来不讨喜 2020-11-27 10:36

Here is a c++ code snippet. It shows the size of an instance of an empty class is 1. But here is what I am wondering. If memory alignment is consid

相关标签:
回答
  • 消灭零回复
提交回复
热议问题