You are viewing a single comment's thread. Return to all comments →
can you plz explain what is wrong in my code, it is showing segmentation fault.
int main() { int n; scanf("%d",&n); int arr[n]; char ar[n][10]; int x[100]={0}; for(int i=0;i0) { while(arr[j]!=i) j++; if(j
Seems like cookies are disabled on this browser, please enable them to open this website
The Full Counting Sort
You are viewing a single comment's thread. Return to all comments →
can you plz explain what is wrong in my code, it is showing segmentation fault.
include
int main() { int n; scanf("%d",&n); int arr[n]; char ar[n][10]; int x[100]={0}; for(int i=0;i0) { while(arr[j]!=i) j++; if(j