![]() |
VOOZH | about |
A structure is a user-defined data type in C/C++. A structure creates a data type that can be used to group items of possibly different types into a single type. The 'struct' keyword is used to create a structure.
Note: C99 says- If the struct-declaration-list contains no named members, the behavior is undefined.
Size of Empty Struct in C programming = 0
Size of Empty Struct in C++ Programming = 1