摘要: 传值(不改变实参的值) 数值(整型、浮点型、字符) 作为参数(传数) code #include <stdio.h> void func(int i); int main(){ int num = 100; func(num);//num实参 printf("%d\n",num);//100 ret 阅读全文
posted @ 2021-11-17 18:47 欢迎来到编程世界 阅读(133) 评论(0) 推荐(0)
摘要: 优先级 运算符 1 ( ) [ ] -> 2 ! ~ *(指针) &(取地址) +(一元) -(一元) sizeof ++ -- 3 * / % 4 + - 5 >> << 6 < <= > >= 7 == != 8 & 9 ^ 10 | 11 && 12 || 13 xx?xx:xx 14 赋值运 阅读全文
posted @ 2021-11-17 16:57 欢迎来到编程世界 阅读(32) 评论(0) 推荐(0)