21 lines
217 B
Markdown
21 lines
217 B
Markdown
|
|
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};
|
|
```
|
|
|
|
>11
|
|
|
|
20 bytes
|
|
|
|
UNCOMPLETED |