BASIC4MCU | C언어 | C언어 | Escape sequence
페이지 정보
작성자 master 작성일2018-02-05 23:31 조회2,186회 댓글0건본문
Escape sequence | Hex value in ASCII | Character represented |
---|---|---|
\a | 07 | Alert (Beep, Bell) (added in C89) |
\b | 08 | Backspace |
\f | 0C | Formfeed |
\n | 0A | Newline (Line Feed); see notes below |
\r | 0D | Carriage Return |
\t | 09 | Horizontal Tab |
\v | 0B | Vertical Tab |
\\ | 5C | Backslash |
' | 27 | Single quotation mark |
\" | 22 | Double quotation mark |
\? | 3F | Question mark (used to avoid trigraphs) |
\nnn | any | The byte whose numerical value is given by nnn interpreted as an octal number |
\xhh… | any | The byte whose numerical value is given by hh… interpreted as a hexadecimal number |
\e | 1B | escape character (some character sets) |
\Uhhhhhhhh | none | Unicode code point where h is a hexadecimal digit |
\uhhhh | none | Unicode code point below 10000 hexadecimal |
https://en.wikipedia.org/wiki/Escape_sequences_in_C
댓글 0
조회수 2,186등록된 댓글이 없습니다.