Integer Data Type In C++
Int Data Type ?
Keyword used for integer data types is int. Integers typically requires 4 bytes of memory space and ranges from -2147483648 to 2147483647.
➦The integral data type is used to store integers and includes char (character) and int (integer) data types.
Example 1:
Output :
char 1 bool 1 short 2 int 4 long 4 float 4 double 8 Press any key to continue . . .
Example 2:
Output :
In Function f localX is 1 In Function f localX is 1 Press any key to continue . . .
Example 3:
Output :
aimtocode.com