Write a C program to find factorial(using recursion) of any no.
#include<stdio.h> #include<conio.h> int fact(int); main() { int n,result; printf("\n Enter any number"); scanf("%d",&n); result=fact(n); printf("\n The result=%d",result); getch(); } int fact(int m) { if(m==0) return 1; else return(m*fact(m-1)); }
Output:
Write a C program to print pattern below:
*
* *
* * *
* * * *
Write a C procram to G.C.D. of two no. using recursion.
Describe various actions of a shift reduce parsers.
What is Software Quality Management?
What is a minimum spanning tree ? Describe Huffman’s Algorithm.