const
char
string
[
]
=
"0xDEADBEEF"
;
long
hexNumber = strtol
(
string
+
2
,
NULL
,
16
)
;