Write an algorithm for sorting an array using pointer and functions and program for the same in C language.
Answers
Answered by
0
Explanation:
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.
Example
Input
Input array elements: 10 -1 0 4 2 100 15 20 24 -5
Output
Array 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
Answered by
0
2. सूरज जैसे ही ढला वह अपने सामान बटोरने लगा। थैले में वापस छोटे-छोटे खिलौने उसके छोटे छोटे हाथों ने रखा। कुछ रेजगारी और नोट को गिनने के बाद आज वह बहुत खुश था.....
hope it helps
Similar questions