C Input and Output
C uses some backslash characters in output functions for formatting the output. These characters are called as Escape sequence characters.for example \t for tab.
Escape Sequences List
Escape Sequences | Description |
\a | Alarm or Beep |
\b | Backspace |
\f | Form Feed |
\n | New Line |
\r | Carriage Return |
\t | Tab (Horizontal) |
\v | Vertical Tab |
\\ | Backslash |
\' | Single Quote |
\" | Double Quote |
\? | Question Mark |
\nnn | octal number |
\xhh | hexadecimal number |
\0 | Null |
For example program given below
#include
int main() {
Printf(\"tutorial44.com\" \n is best \t site for \n learning c language);return 0;
}
"tutorial44.com"
is best site for
learning c language