Convert hex to ASCII by mitchs

main(x){for(;~scanf("%X",&x);)printf(x-10?isprint(x)?"%c":"\\x%02x":"\\n\n",x);}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page