#include int main() { int c; while ((c = getchar()) != EOF) { printf("\\x%X", c); if ( c == '\n' ) { puts(""); } } }