https://technotip.com/8069/c-program-...
A 5-digit positive integer is entered through the keyboard, write a recursive and a non-recursive function to calculate sum of digits of the 5-digit number.
Analyze The Problem Statement
1. User enters a 5-digit number.
2. We need to write 2 functions to calculate sum of digits of user entered number.
3. One function should use recursive logic and the other should calculate sum of digits without using recursion.
C Programming Interview / Viva Q&A List
https://technotip.com/6378/c-programm...
C Programming: Beginner To Advance To Expert
https://technotip.com/6086/c-programm...