What’s the difference between sizeof and alignof?
Well, “memory” is basically a huge array of bytes. However, most larger things like integers need more than 1 byte to store them — a 32 bit value, for example, would use 4 consecutive bytes of memory. Now, the memory modules in your computer aren’t usually “bytes”; they are also organized with a few bytes … Read more