Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- printf("Hello world!\n");
- return 0;
- }
- struct item{
- item *next;
- int x;
- };
- struct stack{
- item *head;
- };
- //void push (x){
- //if (!head){
- //stack->x = x;
- //stack->next = &head
- //head=malloc(sizeof(item));
- //}
- //}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement