Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extern int MAX_2(int x, int y);
- int main(){
- int a[5] = {1,20,3,4,5};
- int max_val = a[0];
- int i =0;
- for(i;i<5;i++){
- max_val = MAX_2(max_val, a[i])
- }
- return max_val;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement