logo

Crowdly

Browser

Add to Chrome

What is the output of this program? int a[] = {3, 1, 4, 2}; int mx = a[0]; for(i...

✅ 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);

!
More questions like this

Want instant access to all verified answers on moodle.usthlearningsupport.vn?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome