Distinguish between data structure and storage structure?
data structure
Collapse
X
-
Data structure is the structure you define in the program code using the "struct" keyword to define the data as the program will actually use it.
Storage structure is the structure that the data takes in the storage medium (for instance a file), although this may be logically the same data as the struct from the program in practice it can differ in terms of padding and endianess.
Comment