0x <-- Notation of a HEX base number.
0 <-- Notation of a decimal base number.
So 0x8 is hex.
08 (or just 8) is decimal.
In case you're not familiar with those number systems.
When we count, we count from 1 to 10, and from there we increase our tenths by 1. because we increase it each 10 numbers, it's a 10 based system).
HEX (hexadecimal) however is a 15 based system. it counts:
1 2 3 4 5 6 7 8 9 A B C D E F 10. and then it continues to:
11 12 13 14 15 16 17 18 19 1A 1B 1C etc. etc.
@coder777 Didn't take octal into consideration at all. I believe you're correct. as for the counting, I made a point and so tried to familiarize it as much as I could. it's okay that you mentioned it but you don't really have to read into it that much.