int main() { int a[100], n; NhapMang(a, &n); XuatMang(a, n); TimMax(a, n); return 0; }
int main () { int b[MAX]; int n, vtmax, max; NhapMang(b,n); XuatMang(b,n); TimMax(b, n, vtmax, max); printf("vi tri %d chua phan tu lon nhat co gia tri %d.\n", vtmax, max); return 0; }