MCPcopy Create free account
hub / github.com/CodeWithHarry/The-Ultimate-C-Programming-Course / employee

Class employee

Chapter 9/01_structure.c:4–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include <string.h>
3
4struct employee
5{
6int code; // This declares a new user defined data type!
7float salary;
8char name[10];
9}; // semicolon is important
10
11int main(){
12 struct employee e1, e2;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected