✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the output of this program?
int a[] = {3, 1, 4, 2};
int mx = a[0];
for(int i = 1; i < 4; i++)
if(a[i] > mx) mx = a[i];
printf("%d", mx);