Data Types in C
Let’s see data type in C language:
But first let me explain you data type in simple terms, data type, as its name suggests means type of data.
Here 5 is the data and KG is its type. 5 is just a data, it can be anything like 5KM, 5CM, 5$, etc.
So, in C programming language data refers to the type and size used for declaring variables and function of different types.
- The data types in C language are of following types:
- 1. Primary data type
- • Integer
- • Float
- • Character
- 2. Derived data types
- • Array
- • Structure
- • Union
- • Pointer
Report Error/ Suggestion