USER DEFINED DATA TYPES IN C
User defined data types are created by programmers by using of Primary data types in language.
LEARN PRIMARY DATA TYPE
USER DEFINED DATA TYPES EXAMPLES IN C
1. STRUCTURE
2. UNION
3. ENUMERATION
LEARN PRIMARY DATA TYPE
USER DEFINED DATA TYPES EXAMPLES IN C
1. STRUCTURE
2. UNION
3. ENUMERATION
STRUCTURE INTRODUCTION
Unlike array, a structure is a collection of different data types values.
In C language, every structure declare with struct keyword.
READ MORE ABOUT STRUCTURE >>
UNION INTRODUCTION
A Union is a special data type in the C language, because it store different data types of values in the same memory.
READ MORE ABOUT UNION >>
ENUMERATION INTRODUCTION
Enumeration is also an example of user defined data type and it consisted with integral constants that make a program easy to read and maintain.
In C, enum keyword is used to define a Enumeration data type.
READ MORE ABOUT ENUMERATION >>
HOW TO DECLARE A VARIABLE IN C >>
HOME
0 Comments