As the number starts with “0x”, that’s why 0x0 gets considered as a hexadecimal number. Hexadecimal numbers have sixteen symbols, whereas decimal ones have ten symbols.