explain about data types in c language with examples
Hi aspirant,
we use the basic fundamental data types in C – int, char, float, and double .
Int is for numbers.Eg:5
Char is for characters.Eg:r
Float is for decimals .eg:0.96
Double is for decimal but more precision than float.
For more complex and huge amounts of data, we use derived types – array, structure, union, and pointer.