Data Types in C
1.4 Data types As in our daily languages we have different alphabets, numbers and special characters, in C we have many “data types”. These could be defined as the fundamental blocks by which define how any form of data is to be stored and processed. These data types may be different based on compilers, but in general C data types are classified into fundamental, derived and programmer-defined data types. C programming basic data types Fundamental data types are namely void, int, float, char, long, double, * (pointer type). Derived data types include arrays, string and structures. Programmer defined data types include Structure, Union and Enumerations. Let’s keep it short and define only the essential ones as you’ll have separate tutorials on some data types. 1. Int: This data type indicates integer numbers and it is represented by “ int ” keyword in C. Integers consume storage space of 2 bytes and range from -32,768 to 32,76...