Wipro interview question

Write a program display frequency of character in a string.