Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int *maximum(int N,int *t)
- {
- if(N==0)
- return t;
- if(*(t+N)>=*maximum(N-1,t))
- return t+N-1;
- else
- return t+N-2;
- if(N<0)
- return 0;
- if(t=0)
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement