Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. int *maximum(int N,int *t)
  2. {
  3.  
  4. if(N==0)
  5. return t;
  6. if(*(t+N)>=*maximum(N-1,t))
  7. return t+N-1;
  8. else
  9. return t+N-2;
  10. if(N<0)
  11. return 0;
  12. if(t=0)
  13. return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement