posted 18 years ago
1) All three integer literals (decimal, hexadecimal, octal) are defined as int by default, but you can specify a long integer by putting an 'L' or 'l' after the number.
2) The int value range is -(2^31) to (2^31)-1 [-2,147,483,648 to 2,147,483,647]. you do not need "L" or "l" if the value in the int value
range.
3) A series of digits with a decimal point is of type double. Float numbers have the f or F suffix. Double numbers have d or D. If no suffix is provided, the default double type is assumed.