Merge pull request #151 from youshaoXG/patch-1

add initialization of C++ arrays
This commit is contained in:
Yudong Jin 2022-12-24 22:25:39 +08:00 committed by GitHub
commit f9414d705d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,11 @@ comments: true
=== "C++"
```cpp title=""
/* 使用多种「基本数据类型」来初始化「数组」 */
int numbers[5];
float decimals[5];
char characters[5];
bool booleans[5];
```
=== "Python"