mirror of
https://github.com/wangdoc/clang-tutorial.git
synced 2026-02-03 10:53:37 +08:00
docs(array): fixed #41
This commit is contained in:
@@ -221,7 +221,7 @@ int a2[i + 5];
|
||||
int a3[i + k];
|
||||
```
|
||||
|
||||
上面示例中,三个数组的长度都需要运行代码才能直到,所以它们都是变长数组。
|
||||
上面示例中,三个数组的长度都需要运行代码才能知道,编译器并不知道它们的长度,所以它们都是变长数组。
|
||||
|
||||
变长数组也可以用于多维数组。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user