2080 4

C Programming20805 marksFactorial using recursion

What is recursion? Write a program to find the factorial of a given integer using recursion.

What is recursion? Write a program to find the factorial of a given integer using recursion. [5]

Recursion is a programming technique where a function calls itself directly or indirectly to solve a problem. A recursive function solves a problem by breaking it down into smaller subproblems of the same type until it reaches a base case (a condition where the function stops calling itself). Eve...

Up nextWhat are conversion specifiers? Explain the basic structure of a C program.