What are the data types used in C language?
- The basic data types used in C language:
- char - (character / string), - %c is the signature and memory consumption is 1 byte.
- int - (integer), %d is the signature and memory consumption is 2 bytes.
- float - floating point (single precision), %f is the signature and memory consumption is 4 bytes.
- double - (double precision), %id is the signature and memory consumption is 8 bytes.
- short int - (16 bit integer)
- long int - (32 bit integer)
- long double - (precision floating point)