1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <string.h>
4
5 int main(int argc, char **argv)
6 {
7 printf("0x%x\n", strtol("ABCDEF", NULL, 16));
8
9 return 0;
10 }
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <string.h>
4
5 int main(int argc, char **argv)
6 {
7 printf("0x%x\n", strtol("ABCDEF", NULL, 16));
8
9 return 0;
10 }