\t \r \a \b \n
\n : new line
\t : tab
\a : alert sound
\b : backspace one character
\r : see example
\b brings the cursor one character back and overwrite its
value with the character next to \b
printf("\"hello\"\n"); : “hello”
printf("hello\b welcome\b"); : hell
welcome
printf("hello,\b welcome\b "); : hell
welcom
printf("\a"); : alert sound
printf("he\rllo rtrty"); : llo
Comments