Data Types Aashi Rana
Data Types Aashi Rana
ING
IN C
Aashi Rana
Sap id –
590016572
Batch – 45
st
DATA TYPE
In C programming, data types are declarations for
variables. This determines the type and size of data
associated with variables
Primitive data types are the most basic data types that
Primitive are used for representing simple values such as
integers, float, characters, etc.
Interger Float
The integer datatype In C programming
in C is used to store float data type is
the integer numbers used to store
(any number floating-point values
including positive,
negative and zero
without decimal part)
Character Void
Character data type The void data type in
allows its variable to C is used to specify
store only a single that no value is
character present
Note : There are various format specifiers for all this data type
If you need to store small
integer values (within the
range of a char) and want
to save memory, using
a char can be efficient
DERIVED DATA TYPE
In C, the data types derived from the
primitive or built-in data types are
called Derived Data Types. In other
words, the derived data types are those
data types that are created by
combining primitive data types and
other derived data types
DERIVED DATA TYPE