| 8 | }; // semicolon is important |
| 9 | |
| 10 | int main() |
| 11 | { |
| 12 | struct employee facebook[100]; // an array of structures |
| 13 | // we can access the data using: |
| 14 | facebook[0].code = 100; |
| 15 | facebook[1].code = 77; |
| 16 | struct employee harry = {100, 71.22, "harry"}; |
| 17 | printf("%d %f %s", harry.code, harry.salary, harry.name); |
| 18 | return 0; |
| 19 | } |
nothing calls this directly
no outgoing calls
no test coverage detected