Computer Science, asked by suryateja21, 5 months ago

Write a program in c to short an array using pointer​

Answers

Answered by Itzcupkae
1

Explanation:

Logic to sort an array using pointers. Input size and elements in array. Declare two function with prototype int sortAscending(int * num1, int * num2) and int sortDescending(int * num1, int * num2) . Declare another function to sort array with prototype void sort(int * arr, int size, int (* compare)(int *, int *)) .

Similar questions