Question: C programming . Create a program to find the largest element of an array using pointers Create an array int num[] = {50, 14, 25,

C programming

. Create a program to find the largest element of an array using pointers Create an array int num[] = {50, 14, 25, 68, 78, 3} Assign the first element of the array to a largest variable using pointer (int large - *num) Use a loop to access each element of the array Compare the large number with each array element using pointer large < *(num+i) If value in large variable is smaller than element, assign the array value to large as large = *(num + i)

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 Databases Questions!