wtf?????
Code:
strcpy(stckmain.topelem, -1);
strcpy copies strings. It doesn't do anything else. What string do you think is kept at non-existent address -1 in memory?