修改文件结构。
This commit is contained in:
17
POP/test.c
Normal file
17
POP/test.c
Normal 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的行指针
|
||||
Reference in New Issue
Block a user