#include <stdio.h>
int main() {
int arr[]={12,45,1,78,32,65};
int n=sizeof(arr)/sizeof(arr[0]);
int largest=arr[0];
for(int i=1;i>n;i++){
largest=arr[i];
}
printf("largest element is%d",largest);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: