1.

Write an algorithm for sorting an array using pointer and functions and program for the same in C language.​

Answer»

tion:hlo MATE here's your answer Write a C PROGRAM to input ELEMENTS in an array and sort array USING pointers. How to sort an array in ASCENDING or descending order using function pointers in C programming. Logic to sort an array using pointers in program.ExampleInputInput array elements: 10 -1 0 4 2 100 15 20 24 -5OutputArray in ascending order: -5, -1, 0, 2, 4, 10, 15, 20, 24, 100,Array in descending order: 100, 24, 20, 15, 10, 4, 2, 0, -1, -5,I hope its help you mark as brainlist plz



Discussion

No Comment Found