Variables are used for storing data during program execution.
Depending on what data you need to store there are several kinds of built-in data types. These are often called fundamental data types or primitives . The integer (whole number) types are short, int and long. The float, double and long double types are floating-point (real number) types. The char type holds a single character and the bool type contains either a true or false value.
|Data Type||Size (byte)||Description|
|char||1||Integer or character|
|double||8||Floating-point number ...|