[CPP] Expressions
Expressions are formed from these atomic elements: data and operators . Data may be represented either by variables or by constants. Like most other computer languages, C/C++ supports a number of different types of data. It also provides a wide variety of operations. Five basic data types There are five atomic data types in the C subset: char, int, float, double, and void The size and range of these data types may vary between processor types and compilers. In all cases a character is 1 byte. The size of an integer is usually the same as the word length of the execution environment, can be 16 bits or 32 bits. To the five basic data types defined by C, C++ adds two more: bool and wchar_t. Modifying the basic types You use a modifier to alter the meaning of the base type to fit various situations more precisely. The list of modifiers is shown here: signed unsigned long short When a type modifier is used by itself (that is, when it does not precede a basic type), the