增加示例.

Signed-off-by: rick.chan <cy187lion@sina.com>
This commit is contained in:
rick.chan 2023-07-06 15:07:58 +08:00
parent f06a6305c0
commit 2e78526cca
1 changed files with 10 additions and 0 deletions

View File

@ -72,3 +72,13 @@
| \r | 回车 |
| \t | 水平制表符 |
| \v | 垂直制表符 |
## 示例
```cpp
int a=0x10A;
printf("%x.\n", a); // print 10a.
printf("%#x.\n", a); // print 0x10a.
printf("%X.\n", a); // print 10A
printf("%#X.\n", a); // print 0X10A
```