From c0a3347b25451d89c8b4f05e0628b248f2a09817 Mon Sep 17 00:00:00 2001 From: ruanyf Date: Thu, 9 Sep 2021 15:14:02 +0800 Subject: [PATCH] docs(types): fixed #20 --- docs/types.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/types.md b/docs/types.md index 704b724..34344e4 100644 --- a/docs/types.md +++ b/docs/types.md @@ -623,10 +623,10 @@ int dostuff(int, unsigned char); char m = 42; unsigned short n = 43; -long long int c = dostuff(a, b); +long long int c = dostuff(m, n); ``` -上面示例中,参数变量`a`和`b`不管原来的类型是什么,都会转成函数`dostuff()`定义的参数类型。 +上面示例中,参数变量`m`和`n`不管原来的类型是什么,都会转成函数`dostuff()`定义的参数类型。 下面是返回值自动转换类型的例子。