Escape Sequence characters

#include < stdio.h >
main()
{
printf("sharksr");
printf("\bselvan");
printf("\rsabari");
printf("\n shark selva");
printf("\t tab");
}

OUTPUT


sabariselva
sharkselva     

How?


this escape sequence operators are used in printf function to design our output in
certain structure.
\n Next line
\t Tab
\r Carriage return( returns to the first of the line).
\b Backspace(backspace one character )

Related Posts