Just a little correction: This function does not find the "mode" in a character array, although it something it can address with some little additional programming.
Limitation: Displays a single mode only even if other numbers occur the same number of times.