Recursion in C Functions | C Language Tutorial

Опубликовано: 28 Декабрь 2024
на канале: programmers mode
174
4

#Second_video_of_fourth_part

RECURSIVE FUNCTIONS.

#P1 - WAP to find the factorial of a number , using recursive function.

#P2 - WAP to print the sum of n natural number using recursive function.

#P3 - WAP to print power(n) raised to base(x) and print the ans , using recursive function.

#P4 - WAP to print the sum of digits where the number is taken from user , using recursive function.

#P5 - WAP to print the reverse of a given number , using the recursive function.

#P6 - WAP to find n fibonacci elements , using a recursive function.

HOMEWORK

*WAP to display n odd natural numbers , using recursive function.

*WAP to print following pattern using functions.

1) 1 2) 1
12 21
123 321
1234 4321
12345 54321

If you wont be able to solve the home work problems then feel free to ask your doubts .

If you face anytype of problem then email or dm on instagram.
on the following link.
--- keep learning.
--- keep supporting.

Do visit us on followinfg links for more information.

INSTAGRAM
---   / pro.mode5  

LINKEDIN
--   / programmers-mode-049213191   --

FACEBOOK
-- https://www.facebook.com/profile.php?... --

TWITTER
--   / pro_mo5   --

BLOG
-- https://programmersmode.blogspot.com/ --