Skip to content

Commit 524ec78

Browse files
authored
Quick Sort
1 parent 28a93bc commit 524ec78

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

quickSort.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ int main()
2323
fout = fopen("Sorted_Using_Quick.txt","w+");
2424
for(i=0; i<n; ++i)
2525
fprintf(fout," %d ",a[i]); // populate file with sorted a[i] elements
26-
26+
27+
fclose(fin);
28+
fclose(fout);
2729
return 0;
2830
}

0 commit comments

Comments
 (0)