"manglikalok" <manglika...@...> wrote: > Question: > long i = 2000L; > > why 'L' is needed to be suffixed with the constant 2000.
It isn't in that instance. > I think once 2000 is assigned to i, it should be converted > to long integer by its own, The conversion is done before the assignment. > then what is the significance of suffixing L . Think about leaving off L in... long secs_per_day = 24 * 60 * 60L; ...on a machine where int has the range -32768..32767. -- Peter
