Types in C
- Basic types
They fall under the category of arithmetic types and are further divided into b) floating-point types and c) integer types.
- The type void
No value is present, as indicated by the type specifier void.
- Derived types
They include (a) Pointer types, (b) Array types, (c) Structure types, (d) Union types (e) Function types.
- Enumerated types
They are once again arithmetic types, and they are employed throughout the program to construct variables that can only be assigned specific discrete integer values.
The memory space taken for a signed char type data is?
A signed char-type data requires 1 byte of memory. The char type will either be signed or unsigned depending on the implementation. The C standard specifies the smallest range that a char type may have; however, implementations may specify bigger ranges.
Commentswrite a comment