19 lines
321 B
C
19 lines
321 B
C
//
|
|
// Created by Isaac on 9/15/2023.
|
|
//
|
|
|
|
#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
|