Data Types and Modifiers in C
Data Types and Modifiers in C
void As the name suggests, it holds no value and is generally used for specifying the
type of function or what it returns. If the function has a void type, it means that the
function will not return any value.
Union These allow storing various data types in the same memory
location. Programmers can define a union with different members,
but only a single member can contain a value at a given time. It is
used for
Enum Enumeration is a special data type that consists of integral
constants, and each of them is assigned with a specific name.
"enum" keyword is used to define the enumerated data type.
All Data Types in Detail with Size and Range of Data Type
The following table provides the details of standard integer types with their storage sizes and
value ranges −