Dear Friends, is there a premade function to count reapetance of a characters in a string or an array in C? if not what is your suggested approach to do it?
for example:
the input is: ARIZONA
Result is : 2111112
input is: KISS
output : 1122
Thanks.