-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.c
More file actions
71 lines (58 loc) · 752 Bytes
/
Program.c
File metadata and controls
71 lines (58 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
char c;
short s;
int i;
long l;
float f;
double d;
void * p;
enum EN { HAHA, XIXI } en;
struct ST { int a; char b; } st, *pst;
void (*func)(int a, int b);
int main()
{
int a;
int * ip;
if (1) return 1;
if (2) return 2;
else return 3;
L1:
goto L1;
switch (4)
{
case 5: break;
case 6: break;
default: break;
}
++a;
--a;
&a;
*ip;
+a;
-a;
~a;
!a;
a;
a++;
a--;
st.a;
pst->a;
func(a, a);
ip[0];
7, 7;
a = 7;
7 ? 7 : 7;
7 || 7;
7 && 7;
7 | 7;
7 ^ 7;
7 & 7;
7 == 7;
7 > 7;
7 << 7;
7 + 7;
7 % 7;
while (8) continue;
do {} while (9);
for (;;) {}
return 0;
}