12-02-2017, 09:06 PM
Yeah, and it depends how you want to represent these numbers. It can be a signed or unsigned integer, a floating-point number, a character, or even a flag. In general, programmers don't think in binary. We read and write in hexadecimal because some programming languages don't support binary literals. It's also more concise.