CS3413/Assignment1/node.h

15 lines
276 B
C
Raw Normal View History

2023-09-15 23:55:52 -03:00
#ifndef ASSIGNMENT1_NODE_H
#define ASSIGNMENT1_NODE_H
typedef struct node {
struct node *next_elem;
char *data;
} Node;
Node *createNode(char *data);
void destroyNode(Node *node);
void replaceData(Node *node, char *data);
#endif //ASSIGNMENT1_NODE_H