Political Science, asked by remmyduncanard, 3 months ago

Develop a C function print out all the unique characters and the number of times it
appeared in the string

Answers

Answered by sagarrajeshwari53
2

Explanation:

The function check(char *s, char c), a) Compare the given character with all elements of the string using for loop for(i=0;s[i];i++). b) If it matches with the element of the string then increase the count value. c) The function returns the count value to the main() function then main() prints the count value.

Similar questions