Thread: Bitwise operators to reverse number

  1. #1
    Registered User
    Join Date
    Dec 2017
    Posts
    1

    Bitwise operators to reverse number

    Can anyone tell me how to find reverse of a number using bitwise operators

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Google "bitwise tricks and hacks"
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 10-22-2010, 05:32 AM
  2. Bitwise operators
    By gnewfenix in forum C Programming
    Replies: 2
    Last Post: 05-16-2009, 08:43 PM
  3. bitwise operators??!?
    By Mr_Jack in forum C++ Programming
    Replies: 6
    Last Post: 04-20-2004, 08:05 AM
  4. What's the use of bitwise operators?
    By seh_hui in forum C Programming
    Replies: 8
    Last Post: 01-13-2002, 05:59 AM
  5. bitwise operators
    By fanaonc in forum C Programming
    Replies: 1
    Last Post: 10-11-2001, 11:10 PM

Tags for this Thread