1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

bitwise not operator

Discussion in 'C' started by cindrilla, Dec 19, 2010.

  1. cindrilla

    cindrilla New Member

    Joined:
    Sep 26, 2010
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    student
    Location:
    hyderabad
    hi all
    i want to know how this bitwise not operator functions
    for example
    ~5 wht is its result?
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,285
    Likes Received:
    364
    Trophy Points:
    83
    Why don't you run and see the results.
     
  3. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    Search engines aren't difficult to use. If you go to Google and type in "c++ bitwise not" then it'll fetch back a list of useful websites you can look at for more information.

    Here's a nice little demo page of how to do it, that I sometimes show people:
    http://lmgtfy.com/?q=c+++bitwise+not
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,285
    Likes Received:
    364
    Trophy Points:
    83
    I also follow your way on this buddy.
     

Share This Page