You got it, praveen. On Jan 24, 7:07 pm, "praveen Jain" <[EMAIL PROTECTED]> wrote: > sorry my previous mail was incomplete > > according to my thinking this could be the solution. > take the summation of both the element and compare it with either of the > element if it is more then overflow won't happen. if it is less it means > oveflow has happened. > > Regards > Praveen > > On 1/25/07, praveen Jain <[EMAIL PROTECTED]> wrote: > > > > > hi abid , > > > I think this could be the solution. > > if u take the summation of both the element and co > > > On 1/24/07, Abid <[EMAIL PROTECTED]> wrote: > > > > This is an interview question. > > > What is the simples way to check if the sum of two unsigned integers > > > has resulted in an overflow. ?
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups-beta.google.com/group/algogeeks -~----------~----~----~----~------~----~------~--~---