From f90f15c77de07f69c938f1c170aba3e042f2390e Mon Sep 17 00:00:00 2001 From: Yudong Jin Date: Sat, 24 Dec 2022 22:21:17 +0800 Subject: [PATCH] Update data_and_memory.md --- docs/chapter_data_structure/data_and_memory.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/chapter_data_structure/data_and_memory.md b/docs/chapter_data_structure/data_and_memory.md index 5d492246..016419d9 100644 --- a/docs/chapter_data_structure/data_and_memory.md +++ b/docs/chapter_data_structure/data_and_memory.md @@ -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"