Does the compiler always place struct at aligned addresses?

Subscribers:
4,150
Published on ● Video Link: https://www.youtube.com/watch?v=wz726y-oFdg



Duration: 2:50
7 views
0


Does the compiler always place struct at aligned addresses?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!

(stackoverflow.com/users/8913338/arye)arye
(stackoverflow.com/users/298225/eric-postpischil)Eric Postpischil
(stackoverflow.com/users/8913338/arye)arye
A special thanks goes out to the (https://stackoverflow.com/questions/76120271/does-the-compiler-always-place-struct-at-aligned-addresses)Stackexchange community

I wish you all a wonderful day! Stay safe :)

memory-alignment c struct







Tags:
memory-alignment
struct