Liutauras Vilda wrote:Please quote the source so it could be double checked.
How did you verify your claim?
The integral types are byte , short , int , and long , whose values are 8-bit, 16-bit, 32-bit and 64-bit signed two's-complement integers, respectively, and char , whose values are 16-bit unsigned integers representing UTF-16 code units (§3.1).
The values of the integral types are integers in the following ranges:
Paul Anilprem wrote:
So, I am now of the opinion that the statement "value of a long var containing 0 is 0L" is actually wrong
Tim Holloway wrote:"0L" is an implementation-specific numeric value.