+ 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

14th Apr 2019, 5:25 PM
michal
1 Resposta
+ 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
14th Apr 2019, 5:59 PM
Javier Felipe Toribio
Javier Felipe Toribio - avatar