Memory layout of a data structure: Difference between revisions

Content added Content deleted
(Point to C++ instead of C plus plus)
Line 64: Line 64:
end record;
end record;


==[[C]]/[[C plus plus|C++]]==
==[[C]]/[[C++]]==
[[Category:C]]
[[Category:C]]
[[Category:C plus plus]]
[[Category:C++]]
Note: The order of the fields is implementation-defined (i.e. the first bit might be the least-significant one or the most-significant one). On GCC and MSVC++, the first bit is the least-significant one.
Note: The order of the fields is implementation-defined (i.e. the first bit might be the least-significant one or the most-significant one). On GCC and MSVC++, the first bit is the least-significant one.
struct RS232_data
struct RS232_data