passenden Datentyp als struct angelegt

This commit is contained in:
regis37
2025-11-26 22:07:00 +01:00
parent 2abc429b82
commit b5e67e8368
+8
View File
@@ -9,6 +9,14 @@ The latest element is taken from the stack. */
//TODO: passenden Datentyp als struct anlegen
typedef struct Node{
int data;
struct Node *next;
} StackNode;
// Pushes data as pointer onto the stack.
StackNode *push(StackNode *stack, void *data);