Data Types in C
Data Types in C
programmerdouts.blogspot.com/2019/06/data-types-in-c-in-c-programming.html
Data Types in C
In the C programming language, data types are declarations for memory locations or
variables that determine the characteristics of the data that may be stored and the methods
(operations) of processing that are permitted involving them. The C language provides basic
arithmetic types, such as integer and real number types, and syntax to build array and
compound types. Several headers in the C standard library contain definitions of support
types, that have additional properties, such as providing storage with an exact size,
independent of the implementation.
1/3
int 2 bytes stores a whole number
Qualifiers
The qualifiers such as signed ,unsigned, long, and short.
they can be applied to character and integer basic datatypes .
however, the qualifier long may also be applied to double.
2/3
float 4 bytes -3.4e-38 to 3.4e+38
bool 1 bit 0 t0 1
Further Concepts
What are Variables?
What are Constant?
what are Escape Sequences?
keyword 'const'
different types of declaring constants
Operators In C
Simple Practice Programs
3/3