The program to find the frequency of characters in a string is discussed here. Given a string, the frequency of occurrence of each character is displayed as output.
Sample Input & Output:
Input: google
Output:
e 1
g 2
l 1
o 2
@@coding::1@@
Recommended Programs