Skip to main content

Data Types in C

 Data Type in C Programming

Type of data is know as Data type. int,float,char are example of data type in c

There are two types

1.Primary data type

2.Derived data type.

Primary data types

Integer(int),floating(float),character(char),void are the primary data type

Derived data types

 arrays, functions, structures and pointers are Derived data types.

Integer type

Integers are used to store whole numbers.

Floating type

Floating types are used to store real numbers.

Character type

Character types are used to store characters value.

void type

void type means no value. This is usually used to specify the type of functions.

Comments