Frequency of Digit in A Number

code:

Ref: http://www.codeforwin.in/2016/10/c-program-to-count-frequency-of-digits-in-number.html