Content deleted Content added
MalnadachBot (talk | contribs) m Fixed Lint errors. (Task 12) |
Tag: |
||
(5 intermediate revisions by 5 users not shown) | |||
Line 1:
{{lowercase title}}
{{Talkheader}}
{{WikiProject
{{WikiProject C/C++|importance=High}}
}}
== Article or redirect? ==
Line 33 ⟶ 35:
*The internal alignment of data members is not unique to the C struct. There is an analogous dynamic that also "works as expected" concerning subclassing in C++. That said it is very interesting that even if a C compiler is run "unaligned" it will always align (don't say "pad"?) struct members ''inside'' the struct, guaranteeing this manipulation by a sub-struct of quantity N-last elements manipulating its containing struct of N elements.
Salient internals for our lead section are the '''size''' (as mentioned), and the method of '''chaining''' the members of a C struct to one another.
— [[User:Cpiral|<
== Declare/define ==
|