Advertisement
Stukeleyak

Untitled

May 12th, 2022
905
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement