diff --git a/struct.h b/struct.h new file mode 100644 index 0000000000000000000000000000000000000000..e806f15354c1a7de1a3b850d39df82f8a53468a6 --- /dev/null +++ b/struct.h @@ -0,0 +1,16 @@ +#ifndef STRUCT_H +#define STRUCT_H + + +struct Node{ + int data; + struct Node* next; +}; + + +struct Node* newFUNC (int data); +struct Node* insert (struct Node* head, int data); +void myPrint(struct Node* head);void replace(struct Node* head, int pos, int elem); +void replace(struct Node* head, int pos, int elem); + +#endif /* STRUCT_H */