修改文件结构。

This commit is contained in:
unlockable
2023-02-21 10:56:54 +08:00
parent a64cfdd9f3
commit 40182871f4
83 changed files with 0 additions and 0 deletions

17
POP/test.c Normal file
View File

@@ -0,0 +1,17 @@
#include <stdio.h>
int a = 4;
int main() {
int s = a, i = 0;
printf("%d\n", s);
for (;i < 2; i++) {
s += f(i);
}
printf("%d\n%d\n%d", s, f(0), f(1));
return 0;
}
// printf 从右往左压栈
// (..., ..., ...)括号里的叫逗号表达式,优先级比赋值还低
// 挨个运算所有的表达式,整个逗号表达式的值是最后一个语句的值
// (*p)[5] 5个指针的数组 *p[5]一个行长为5的行指针