Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

#include<stdio.

h>
main()
{
int c;
while ((c=getchar())!=EOF)
if (c=='\t')
printf('\\t');

else if (c=='\b')
printf('\\b');

else if (c=='\\')
printf('\\\\');

else
printf(%c\n, c);

You might also like