Create a program to find the largest element of an array using pointers. int arr = (34, 12, 21, 54, 48); • Assign the first element of the array to a largest variable using pointer int largest = *arr • Run a for loop to access each element of the array. • Compare largest with each array element using pointer largest < *(arr + i) • If the largest variable is smaller than a element, assign the array value to largest largest = *(arr + i)
Ap ki explanation bahut jyada aachi hai❤️
but ap ab videos thodi late post kar raha ho
Plz thoda try karya jaldi upload karna ka
Next video call bind apply please
Bahut badhiya sir ji
Awesome guruji
Create a program to find the largest element of an array using pointers. int arr = (34, 12, 21, 54, 48);
• Assign the first element of the array to a largest variable using pointer int largest = *arr
• Run a for loop to access each element of the array.
• Compare largest with each array element using pointer largest < *(arr + i)
• If the largest variable is smaller than a element, assign the array value to largest largest = *(arr + i)
Sir your awesome ❤