Posts

Showing posts with the label highest frequency

Highest frequency character in string c program

This program will find the character with highest occurrence in string. If there are two or more character with highest and same frequency in string then program will print alphabetically first character in string. For example if string is "programmingside". Here 'g', 'r', 'm', 'i' occurring  two times so program will print 'g'.