You can find a list of formatting escapes on this page.
%d is a signed integer, while %u is an unsigned integer. Pointers (when treated as numbers) are usually non-negative.
If you actually want to display a pointer, use the %p format specifier.