Update data_and_memory.md

pull/151/head
Yudong Jin 2 years ago committed by GitHub
parent 45d2934386
commit f90f15c77d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save