| 8 | }; // semicolon is important |
| 9 | |
| 10 | int main() |
| 11 | { |
| 12 | struct employee e1; |
| 13 | e1.code = 56; |
| 14 | struct employee *ptr; |
| 15 | ptr = &e1; |
| 16 | // now we can print structure elements using: |
| 17 | // printf("%d", (*ptr).code); |
| 18 | printf("%d", ptr->code); // Exactly same as (*ptr).code |
| 19 | |
| 20 | return 0; |
| 21 | } |
nothing calls this directly
no outgoing calls
no test coverage detected