Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a programe to find the factorial of given number
using recursion

Answer Posted / hari

int fact(int n)
{
if(n==1)
return 1;
else
return(n*fact(n-1));
}

for further queries and discussions, just check these out !!!

http://forum.campusmaniac.com/
http://www.campusmaniac.com/

Is This Answer Correct ?    13 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by a sequential access file?

1073


What is data types?

1077


Define Spanning-Tree Protocol (STP)

1120


how to create duplicate link list using C???

2553


What are shell structures used for?

1042


what is the syallabus of computer science students in group- 1?

2315


what is the difference between 123 and 0123 in c?

1200


Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

1112


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

2174


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

3532


What is the difference between class and object in c?

1166


What happens if you free a pointer twice?

1064


what do u mean by Direct access files? then can u explain about Direct Access Files?

2085


What is the purpose of scanf() and printf() functions?

1233


What is unsigned int in c?

990