Write a recursive function in C programming to calculate sum of digits of a number. How to calculate sum of digits of a given number using recursion in C program. Logic to find sum of digits using recursion in C programming.
Example
Input
Input number: 1234
Output
Sum of digits: 10