1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-27 16:40:03 +02:00

Add the missing semicolons (#5377)

add two missing semicolons
This commit is contained in:
leeqh98
2025-08-20 16:29:30 +08:00
committed by GitHub
parent fab771d5c1
commit 20f553db18

View File

@@ -158,7 +158,7 @@ char chb = 'a'; // 同样合法 (隐式类型转换
int multi_array[2][5] = {
{1, 2, 3, 4, 5},
{6, 7, 8, 9, 0}
}
};
// 获取元素
int array_int = multi_array[0][2]; // => 3
@@ -218,7 +218,7 @@ int z;
z = (a > b) ? a : b; // 10 “若a > b返回a否则返回b。”
// 增、减
char *s = "iLoveC"
char *s = "iLoveC";
int j = 0;
s[j++]; // "i" 返回s的第j项然后增加j的值。
j = 0;