I agree and the idea i said before targets this case exactly!You need to increase v by the counter of frequencies.Do not forget to initialize the counter to zero every time you are about to enter the...
Type: Posts; User: std10093
I agree and the idea i said before targets this case exactly!You need to increase v by the counter of frequencies.Do not forget to initialize the counter to zero every time you are about to enter the...
I want to point out that the prototype could be instead of this
void getFrequency (int val, int list[], int size, int &count)
this
void getFrequency (int list[], int size)
-Why?
-Because val...