i am getting run time error in that code.
int this code i took frequency array of size 9,should i take same size of array or not?if i take then how the declaration and intialization of frequency array
Counting sort in c++
I would recommend you that first go through the online video lecture given on counting sort in your course under searching and sorting section and then make changes in your code accordingly.