Dj seven pro
2 min readMay 9, 2021

--

C DATA TYPES

A data-type in C programming is a set of values and is determined to act on those values. C provides various types of data-types which allow the programmer to select the appropriate type for the variable to set its value

The data-type in a programming language is the collection of data with values having fixed meaning as well as characteristics. Some of them are an integer, floating point, character, etc. Usually, programming languages specify the range values for given data-type.

USES OF THE C DATA TYPES

C Data Types are used to:

Identify the type of a variable when it declared.

Identify the type of the return value of a function.

Identify the type of a parameter expected by a function.

TYPES OF THE DATA TYPES

Primary(Built-in) Data Types:
void, int, char, double and float.

Derived Data Types:
Array, References, and Pointers.

User Defined Data Types:
Structure, Union, and Enumeration.

--

--