mirror of
https://github.com/wangdoc/clang-tutorial.git
synced 2026-02-09 13:45:38 +08:00
docs(union): fix typo
This commit is contained in:
@@ -86,7 +86,7 @@ printf("%f\n", x.b); // 3.141592
|
||||
printf("%f\n", *foo_float_p); // 3.141592
|
||||
```
|
||||
|
||||
上面示例中,`x`是 foo 结构的指针,它的数据类型完全由当前赋值的属性决定。
|
||||
上面示例中,`&x`是 foo 结构的指针,它的数据类型完全由当前赋值的属性决定。
|
||||
|
||||
typedef 命令可以为 Union 数据类型起别名。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user