Skip to content

Commit 20f553d

Browse files
authored
Add the missing semicolons (#5377)
add two missing semicolons
1 parent fab771d commit 20f553d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zh-cn/c.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ char chb = 'a'; // 同样合法 (隐式类型转换
158158
int multi_array[2][5] = {
159159
{1, 2, 3, 4, 5},
160160
{6, 7, 8, 9, 0}
161-
}
161+
};
162162
// 获取元素
163163
int array_int = multi_array[0][2]; // => 3
164164

@@ -218,7 +218,7 @@ int z;
218218
z = (a > b) ? a : b; // 10 “若a > b返回a,否则返回b。”
219219

220220
// 增、减
221-
char *s = "iLoveC"
221+
char *s = "iLoveC";
222222
int j = 0;
223223
s[j++]; // "i" 返回s的第j项,然后增加j的值。
224224
j = 0;

0 commit comments

Comments
 (0)