FUNCTION IN C PROGRAMMING
Function A function is a self-contained block of codes or sub-programs with a set of statements that perform some specific task or coherent task when …
E-notebook
Function A function is a self-contained block of codes or sub-programs with a set of statements that perform some specific task or coherent task when …
#include<stdio.h>#include<conio.h> void main ( ) { int n, i, f=1;printf (“Enter number”);scanf(“%d”,&n);for (i=n;i>1;i–) f = f*i; printf (“\n factorial=%d”,i);getch( );}