+ 4
Bits and sizeof structure
I got something similar in the challenges. Could you please explain me how it works and why is the output as it is? Thanks https://code.sololearn.com/cUt1P0Z08Hxn/?ref=app
2 Answers
+ 6
There are a series of posts of structure packing from C++ Soldier (Babak) user that explains this
https://www.sololearn.com/post/78037/?ref=app