Recursion Program to solve Towers of Hanoi problem #include <stdio.h> #include <conio.h> void hanoi(int num_disks,char *src,char *tmp,char *trgt); void main() { int […]
Recursion Program to compute factorial of a given number #include <stdio.h> #include <conio.h> /*Recursive Definition*/ /*int factorial(int n) {if(n==0) return 1; else […]