C Program to Sum of all Digits in Nimber

OUTPUT: