Question: = #include int main() { long array(100), *maximum, size, c, location = 1; printf(Enter the number of elements in array ); scanf(%ld, &size); printf(Enter %ld

 = #include int main() { long array(100), *maximum, size, c, location

= #include int main() { long array(100), *maximum, size, c, location = 1; printf("Enter the number of elements in array "); scanf("%ld", &size); printf("Enter %ld integers ", size); for (c = 0; c *maximum) { *maximum = *(array+c); location = C+1; } } printf("Maximum element found at location %ld and it's value is %ld. ", location, *maximum); return 0; } =

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Chemical Engineering Questions!