Advertisement
juliancardz

Untitled

Feb 15th, 2019
2,273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ARM 0.24 KB | None | 0 0
  1. extern int MAX_2(int x, int y);
  2.  
  3. int main(){
  4.         int a[5] = {1,20,3,4,5};
  5.         int max_val = a[0];
  6.        
  7.         int i =0;
  8.         for(i;i<5;i++){
  9.             max_val = MAX_2(max_val, a[i])
  10.         }
  11.         return max_val;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement