+1 to abhishek On Mon, Sep 26, 2011 at 11:44 PM, Abhishek Gupta <guptaabhishe...@gmail.com>wrote:
> thats basically taking twos' compliment and converting it to negative one > and then adding it..its the same principle...which is used for dividing two > numbers without using '/' and '-'...right kunal?? > > > On Mon, Sep 26, 2011 at 10:38 PM, Ashima . <ashima.b...@gmail.com> wrote: > >> grt.we never generally use ~ operator. got to knw abt it. >> Ashima >> M.Sc.(Tech)Information Systems >> 4th year >> BITS Pilani >> Rajasthan >> >> >> >> >> On Mon, Sep 26, 2011 at 10:07 AM, ~*~VICKY~*~ <venkat.jun...@gmail.com>wrote: >> >>> Tricky question with more tricky answers. thank you all. >>> >>> >>> On Mon, Sep 26, 2011 at 9:55 PM, Kunal Yadav <kunalyada...@gmail.com>wrote: >>> >>>> difference = x+ ~y +1 >>>> >>>> On Mon, Sep 26, 2011 at 7:33 PM, ~*~VICKY~*~ >>>> <venkat.jun...@gmail.com>wrote: >>>> >>>>> Find the difference of two numbers without using '-' operator ! >>>>> >>>>> plz share ur solutions! >>>>> >>>>> -- >>>>> Cheers, >>>>> >>>>> Vicky >>>>> >>>>> -- >>>>> 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 >>>>> algogeeks+unsubscr...@googlegroups.com. >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/algogeeks?hl=en. >>>>> >>>> >>>> >>>> >>>> -- >>>> Regards >>>> Kunal Yadav >>>> (http://sourcebit.in) >>>> >>>> >>>> -- >>>> 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 >>>> algogeeks+unsubscr...@googlegroups.com. >>>> For more options, visit this group at >>>> http://groups.google.com/group/algogeeks?hl=en. >>>> >>> >>> >>> >>> -- >>> Cheers, >>> >>> Vicky >>> >>> -- >>> 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 >>> algogeeks+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/algogeeks?hl=en. >>> >> >> -- >> 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 >> algogeeks+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > > > -- > Thanks & Regards > Abhishek Gupta > > > -- > 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 > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- 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 algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.