mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 23:18:48 +00:00
Initial commit
This commit is contained in:
26
examples/temp2.c
Normal file
26
examples/temp2.c
Normal file
@@ -0,0 +1,26 @@
|
||||
int f(int i, int const a[const i]) {
|
||||
int temp = 0;
|
||||
const float temp2 = 0.f, temp3 = 0.f;
|
||||
temp = sizeof(unsigned char);
|
||||
temp = _Alignof(unsigned char);
|
||||
|
||||
struct color { int number; char name; } c;
|
||||
c.name;
|
||||
struct color *cp = &c;
|
||||
cp->name;
|
||||
|
||||
for(int i = 0, j = 0; i < 10; ++i) {
|
||||
break;
|
||||
}
|
||||
|
||||
switch(temp) {
|
||||
case 1: {
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return temp;
|
||||
}
|
||||
Reference in New Issue
Block a user