Data Types in C++

Data types supported by C++ can be broadly divided into six heads as stated follows: int data-type char data-type float data-type double data-type bool (boolean) data-type enum (enumeration) data-type 1) int data-type: int data-type represents the whole number (i.e., integer) quantities. Integers are required not to contain a decimal point or an exponent. int data-type can also be further sub-divided into two broad categories, viz, short int and long int signed int and unsigned int short int and long int The qualifier short, when placed in front of the int declaration, tells the C++ system that the particular variable being declared will be used to store fairly small integer values. On the other hand, the qualifier long, when placed in front of the int declaration, tells the C++ system that the particular variable being declared will be used to store fairly large integer values. signed int and unsigned int In case...