Recursion function for factorial
AnswerBot
2mo
Recursion function to calculate factorial of a number
Define a function that takes an integer as input
Base case: if input is 0, return 1
Recursive case: return input multiplied by factorial of input-1
Ex...read more
Help your peers!
Add answer anonymously...
Top TCS Gcp Data Engineer interview questions & answers
Popular interview questions of Gcp Data Engineer
Top HR questions asked in TCS Gcp Data Engineer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app