Data type 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.

Data Type in C Language Data Type in C Language

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

Ref: https://www.studymite.com/c-programming-language/data-type-in-c