Advertisement
Zarowa

wtf

May 24th, 2015
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.56 KB | None | 0 0
  1. int main
  2. {
  3.     struct stack{
  4.         int top;
  5.         int elementy[10];
  6.     };
  7.  
  8.     int top(struct stack S);
  9.     int push(10, struct stack* S);
  10.     int push(-10, struct stack* S);
  11.     int top(struct stack S);
  12.     int pop(struct stack* S);
  13.     int top(struct stack S);
  14.     int push(20, struct stack* S);
  15.     int push(30, struct stack* S);
  16.     int pop(struct stack* S);
  17.     int top(struct stack S);
  18.     int pop(struct stack* S);
  19.     int pop(struct stack* S);
  20.     int top(struct stack S);
  21.     int pop(struct stack* S);
  22.     int pop(struct stack* S);
  23.     int pop(struct stack* S);
  24.     int top(struct stack S);
  25.  
  26.     return 0;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement