diff --git a/program.c b/program.c index da2e742..654e9ae 100644 --- a/program.c +++ b/program.c @@ -17,12 +17,10 @@ void print_stack(struct stack* stack); float pop_stack(struct stack* stack); // Pridanie do zasobnika void push_stack(struct stack* stack,float value); -// Velkost zasobnika -int count_stack(struct stack* stack); int main(){ struct stack mystack; - memset(mystack,0,sizeof(struct stack)); + memset(&mystack,0,sizeof(struct stack)); return 0; }