摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<string.h> //求Sn = a+aa+aaa+aaaa+aaaaa的前5项之和,其中a是一个数字 //例如:2+22+222+2222+22222 int main() 阅读全文
posted @ 2022-04-06 22:26
zzy_C
阅读(80)
评论(0)
推荐(0)
|
摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<string.h> //求Sn = a+aa+aaa+aaaa+aaaaa的前5项之和,其中a是一个数字 //例如:2+22+222+2222+22222 int main() 阅读全文
posted @ 2022-04-06 22:26
zzy_C
阅读(80)
评论(0)
推荐(0)
摘要:
C语言操作符优先级 优先级 运算符 含 义 要求运算 对象的个数 结合方向 1 () [] -> . 圆括号 下标运算符 指向结构体成员运算符 结构体成员运算符 自左至右 2 ! 逻辑非运算符 1 (单目运算符) 自右至左 ~ 按位取反运算符 ++ 自增运算符 -- 自减运算符 - 负号运算符 (类 阅读全文
posted @ 2022-04-06 10:19
zzy_C
阅读(1375)
评论(0)
推荐(0)
|