Message from C, C++ talks

June 2019

— Int main

— Sure thanks

— It will also put padding in struct

— I run it brother and it show 35
The problem is by what logic it 35.


Why are you asking that? Is an asignment for college or something? Cause then you should do it yourself

— What's your logic?

— No it's not asignment

— Because that's the correct output

— Try size of of things separately

— Or you can google this values

— My logic is
Size 30 is for char array
And unsigned char 1
And float will be 4 so 35 ans maybe

— Yes

— So what's wrong?

— Is it right?

— Yes