[Solved] Push pop stack operation in C [closed]
Here you have again some things wrong. Before you create new threads with similar content, stick to one thread. In your code you also never check if malloc fails. It’s always better to do that. For simplicity I’ve omitted these checks in my suggestions. 1. Why do you do S1[0].top=-1; in makeEmpty? create already does … Read more