10. Data Types of C Programming
Data Types of C Programming are given below : A set of values together with a set of permitted operations is known as data t ypes . Variables used in C programs are declared with appropriate data types before the variable is assigned any value. There are four basic data types in C language. They are described below: (1) char : A char data type is used to hold individual character or letter or symbol. It usually occupies 1 byte in RAM. The value range in decimal in char data types is between - 128 to 127. (2) int : An int data type is used to store a signed or unsigned whole integer number within a specified range and cannot have fractional values or a decimal point. It usually occupies 2 bytes in RAM. The value range in decimal in char data types is between - 32768 to 32767. (3) float : A float data type is used to store floating point numbers or real numbers that is numbers that can have decimal values. It usually occupies 4 bytes in RAM. The value range in deci...