lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | #include <stdio.h> |
2 | |||||
3 | int main(void) | ||||
4 | { | ||||
5 | unsigned long long val = -1; | ||||
6 | void *ptr = (void *)-1; | ||||
7 | printf("%p\n", ptr); | ||||
8 | |||||
9 | sscanf("123456789", "%Lx", &val); | ||||
10 | printf("val = %Lx\n", val); | ||||
11 | return 0; | ||||
12 | } |