notes/Ch 16 exericses.md

19 lines
200 B
Markdown
Raw Normal View History

2024-11-15 21:28:32 +00:00
> 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