AD (728x90)

GoogleOnline Exam Test Seminar Sparkz IncEasy Link Exchange

Saturday 31 May 2014

Write C programs that use both recursive and non-recursive functions To find the factorial of a given integer

Seminars and Jobs information
Share it Please
/* Write C programs that use both recursive and non-recursive functions
  To find the factorial of a given integer.*/

#include<stdio.h>
#include<conio.h>

unsigned int recr_factorial(int n);
unsigned int iter_factorial(int n);

void main()
{
 int n,i;
 long fact;
 clrscr();
 printf("Enter the number: ");
 scanf("%d",&n);
For more Click

Written by

Java Basic Point blog is created for the MCA,M.Tech,B.Tech and Graduate students.So visit and get the benifits from this blog.

0 comments:

Post a Comment

© 2013 Learning Java. All rights resevered. Designed by Templateism