#include #include int main() { size_t s = -1; // so that we get the largest value ;-) ptrdiff_t p = -1; printf("s = %20zu (hex: %16zx, oct: %23zo)\n", s, s, s); printf("p = %20td (hex: %16tx, oct: %23to)\n", p, p, p); }