#include<stdio.h>intmain(){int a =1;int b =2;int c =(a > b, a = b +10, a, b = a +1);//逗号表达式printf("%d\n", a);printf("%d\n", b);printf("%d\n", c);return0;}
#include<stdio.h>intmain(){char a =0xb6;//10110110short b =0xb600;int c =0xb6000000;if(a ==0xb6)printf("a");if(b ==0xb600)printf("b");if(c ==0xb6000000)printf("c");return0;}
#include<stdio.h>//%d - 10进制的形式打印有符号的整数//%u - 10进制的形式打印无符号的整数intmain(){char c =1;printf("%u\n",sizeof(c));printf("%u\n",sizeof(+c));printf("%u\n",sizeof(-c));return0;}
#include<stdio.h>//相邻操作符优先级高的先算,低的后算//相邻操作符的优先级相同的情况下,结合性起作用//int main()//{// int a = 2 + 3 + 5;//// return 0;//}intfun(){staticint count =1;return++count;}intmain(){int answer;
answer =fun()-fun()*fun();printf("%d\n", answer);//输出多少?return0;}
#include<stdio.h>intmain(){int i =1;int ret =(++i)+(++i)+(++i);printf("%d\n", ret);printf("%d\n", i);return0;}
English Learning - L3 作业打卡 Lesson1 Day4 2023.5.8 周一 引言🍉句1: They may say they are red hot about something unfair.成分划分弱读连读爆破语调 🍉句2: When they are red hot, they are very angry about something.成分划分弱读连读爆破语…