When talking about integers, they are all stored in binary. You can display them in decimal, hex, octal, sixbit, etc. but they are all in binary. To see the value in hex, all you need to do is output with the proper format specifier: %X-hex, %d-decimal, etc.
Reputation Points: 3275
Solved Threads: 885
Posting Sage
Online 7,699 posts
since May 2006