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.11

t 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 ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why does notstrcat(string, "!");Work?

1205


Why c is called a middle level language?

1160


What is the use of a semicolon (;) at the end of every program statement?

1585


Can you subtract pointers from each other? Why would you?

1005


Why can’t we compare structures?

1323


diff between exptected result and requirement?

2112


Why we use void main in c?

1229


Explain about block scope in c?

1143


i got 75% in all semester am i eligible for your company

2265


How pointers are declared?

1009


What does %c mean in c?

1139


write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list

2864


What is the full form of getch?

1355


What does the characters “r” and “w” mean when writing programs that will make use of files?

1540


Explain how can type-insensitive macros be created?

1042