- 1
Write a C program to sort an array using pointer and print the array after sorting.
#include<stdio.h> int main(){ int size; printf("enter size of array"); scanf("%d",&size); int arr[size]; size_t i; printf("enter array elements"); for(int i=0;i<size;i++){ scanf("%d",arr[i])} then what??? please help me return 0;
2 Respuestas
- 1
where is the answer?
+ 1
Read about qsort