The document provides 10 recursive function problems to solve in C language: 1) Print first N natural numbers recursively, 2) Print first N natural numbers in reverse order recursively, 3) Print first N odd natural numbers recursively, 4) Print first N odd natural numbers in reverse order recursively, 5) Print first N even natural numbers recursively, 6) Print first N even natural numbers in reverse order recursively, 7) Print squares of first N natural numbers recursively, 8) Print binary of a given decimal number recursively, 9) Print octal of a given decimal number recursively, 10) Print reverse of a given number recursively.
The document provides 10 recursive function problems to solve in C language: 1) Print first N natural numbers recursively, 2) Print first N natural numbers in reverse order recursively, 3) Print first N odd natural numbers recursively, 4) Print first N odd natural numbers in reverse order recursively, 5) Print first N even natural numbers recursively, 6) Print first N even natural numbers in reverse order recursively, 7) Print squares of first N natural numbers recursively, 8) Print binary of a given decimal number recursively, 9) Print octal of a given decimal number recursively, 10) Print reverse of a given number recursively.
The document provides 10 recursive function problems to solve in C language: 1) Print first N natural numbers recursively, 2) Print first N natural numbers in reverse order recursively, 3) Print first N odd natural numbers recursively, 4) Print first N odd natural numbers in reverse order recursively, 5) Print first N even natural numbers recursively, 6) Print first N even natural numbers in reverse order recursively, 7) Print squares of first N natural numbers recursively, 8) Print binary of a given decimal number recursively, 9) Print octal of a given decimal number recursively, 10) Print reverse of a given number recursively.
Assignment - 12 A Job Ready Bootcamp in C++, DSA and IOT MySirG
Recursion in C Language
1. Write a recursive function to print first N natural numbers
2. Write a recursive function to print first N natural numbers in reverse order 3. Write a recursive function to print first N odd natural numbers 4. Write a recursive function to print first N odd natural numbers in reverse order 5. Write a recursive function to print first N even natural numbers 6. Write a recursive function to print first N even natural numbers in reverse order 7. Write a recursive function to print squares of first N natural numbers 8. Write a recursive function to print binary of a given decimal number 9. Write a recursive function to print octal of a given decimal number 10. Write a recursive function to print reverse of a given number