Merge pull request #164 from WSL0809/patch-1
使用多种「基本数据类型」来初始化「数组」的 C 语言版本
This commit is contained in:
commit
190e969a0a
@ -92,6 +92,11 @@ comments: true
|
|||||||
=== "C"
|
=== "C"
|
||||||
|
|
||||||
```c title=""
|
```c title=""
|
||||||
|
/* 使用多种「基本数据类型」来初始化「数组」 */
|
||||||
|
int numbers[10];
|
||||||
|
float decimals[10];
|
||||||
|
char characters[10];
|
||||||
|
bool booleans[10];
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user