#include <stdio.h>

int main() {
    int arr[5] = {1,9,3,7,5};
    int *p = arr;
    int max = 0;

    for (int i = 0;i < 5;i++) {
        if(*p > max){
            max = *p;
        }
        p++;
    }  
    printf("%d",max);
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: