19 lines
200 B
Markdown
19 lines
200 B
Markdown
|
> 1
|
||
|
|
||
|
Yes they are, different structs can have the same field names.
|
||
|
|
||
|
> 2
|
||
|
|
||
|
```c
|
||
|
struct c1 C1 { 0.0, 1.0};
|
||
|
|
||
|
struct c1 C2 { 1.0, 1.0};
|
||
|
```
|
||
|
|
||
|
> 8a
|
||
|
```c
|
||
|
const struct color MAGENTA { 255, 0, 255};
|
||
|
```
|
||
|
|
||
|
>11A
|