/ Published in: C++
Expand |
Embed | Plain Text
int findFreq(int myArray[], int key, int size) { int freq[10] = {0}; for(int i=0; i<size; i++) freq[myArray[i]]++; return freq[key]; }
Comments
Subscribe to comments
You need to login to post a comment.

That's the second quiz of CS201