Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct ErrorCheck {
- int returnValue;
- struct Nodes * list;
- };
- struct Nodes {
- char * name;
- int grade;
- struct Nodes * next;
- };
- void buildList() {
- struct ErrorCheck * newStruct;
- newStruct = malloc(sizeof(struct ErrorCheck));
- newStruct->list = malloc(sizeof(struct Nodes));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement