summaryrefslogtreecommitdiff
path: root/test/stdio/64bit.c
blob: 9b94dd86c8bdc7620c8e35d6a629737374f6e5e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>

int main(void)
{
	unsigned long long val = -1;
	void *ptr = (void *)-1;
	printf("%p\n", ptr);

	sscanf("123456789", "%Lx", &val);
	printf("val = %Lx\n", val);
	return 0;
}