Data types
Data type is a finite set of values along with set of rules for different operations
there are three types of data types
1. primary data types
2. secondary data types
3. user defined data types
1. primary data types are basically the building blocks of the data structure.
there are three types of primary data types
(a) int
(b) float
(c) char
2. secondary data types:- secondary types are those data types which are derived from one or more basic data types.
(a) array
(b) structure
(c) union
(d) pointers
3. user defined data types :- in the user defined data types, there are two data types
(a) type def
0 Comments