New Member FAQ
|
Forums
|
Earn Revenue
Resources
Entrance
Ask Experts
Exam Papers
Jobs
English
Projects
Universities
Colleges
Courses
Schools
Training
My India
Members
|
Communities
|
Business Directory
|
Classifieds
|
Reviews
|
Silverlight Games
|
Peer Appraisal
|
Bookmarks
|
Polls
|
Mentors
|
Links
|
Academic Projects
|
Lobby
|
Gift Shop
|
Chat
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
sridevi
(37)
Agnes Mary
(15)
Jayaram
(14)
Last 7 Days
Mr. Anindya
(2274)
PROSENJIT MANN...
(2013)
Pawan Bahuguna
(1251)
more...
Awards & Gifts
Online Exams
Aptitude Questions
General Aptitude Tests
Medical Entrance
Engineering Entrance
Bank Tests
TOEFL & IELTS Questions
Fresher Jobs
Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi
Resources
Find educational articles, blogs, discussion threads and other resources.
Colleges
Find details about any college in India or search for courses.
Factorial of a no. in C
Posted Date: Total Responses:
0
Posted By:
Saheli
Member Level:
Gold
Points/Cash
: 3
#include
#include
int fac(int);
void main()
{
long int n,f;
clrscr();
printf("Enter the number..:");
scanf("%ld",&n);
f=fac(n);
printf("The factorial of the no. is..:%ld",f);
getch();
}
long int fac(long int n)
{
if(n>0)
return (n*fac(n-1));
else return 1;
}
Project Feedbacks
No feedbacks found. Be the first to respond and make money from
revenue sharing program
.
Post Feedback
You must
Sign In
to post a feedback.
Next Project:
Greatest Common Divisor in C
Previous Project:
Push & Pop in Datastructure
Return to Project Index
Post New Project
Related Projects
FirstApplet
Recursive Descent parsing using C programming
To control assembly through set of attributes
Data structure through C
ATM System Project
Advertise Here
Contact Us
Advertise
Editors
Privacy Policy
Terms Of Use
ISC Technologies.
2006 - 2009 All Rights Reserved.