Question
Explain the concepts of recursion and iteration in C with suitable examples. Write two separate C
programs to calculate the Greatest Common Divisor (GCD) of two positive integers:
using an iterative approach and
using a recursive approach
Compare both approaches
Answer :
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.