--- In [EMAIL PROTECTED], kathir resh <[EMAIL PROTECTED]> wrote: > > The range of int is -32767 to +32768 but for long it > varies. whenever the input to be used is of big in range > (int type) long type is used <snip>
Sorry for being so pernickety, but the correct numbers for the usual widespread 2's complement representation of 16-bit integers are -32,768 to +32,767. Regards, Nico
