#include <stdio.h> #define DBS '\\' void main() { int c; while((c=getchar())!=EOF) { if(c=='\t') { putchar(DBS); putchar('t'); } else if(c==' ') { putchar(DBS); putchar('b'); } else if(c=='\\') { putchar(DBS); putchar(DBS); } else putchar(c); } printf("\n%d\n",c); }
jh fhj jkhfh\
jh\bfhj\t\bjkhfh\\