Godmar Back <gback@cs.utah.edu> writes: > void p64(long long v) > { > if (v < 0) v = -v, printf("-"); > if (v > 9) p64(v/10); > printf("%d", v%10); > } Won't work for LLONG_MIN if its absolute value is larger than LLONG_MAX.