Advertisement
Stukeleyak

Untitled

May 12th, 2022
1,118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.23 KB | None | 0 0
  1. #include <stdio.h>
  2. extern int maximum(int* arr);
  3.  
  4. int main()
  5. {
  6.     int arr[]
  7.     {
  8.         20, 3, 155, 5, 312
  9.     };
  10.  
  11.     int maximum = maximum(arr);
  12.  
  13.     printf("Maximum of every %i -th number is equal to: %i", q, maximum);
  14.  
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement