Ex: Write a C Program to print your name 10 times without using loops or goto statement using recursion function. How to write a C Program to print your name 10 times without using loops or goto statement using recursion function. C Program to print your name 10 times without using loops or goto statement using recursion function.
In below program we have used recursion function to print name 10 times.
What is recursion function?
Recursion function means function calling it self ...In simple words recursion() means call a function inside the same function then it is called as recursive call of the function.
you are actually using loop in this program man.
ReplyDeleteYes, but we are not using C loops concepts like for loop, while loop or do while loop. Here we are using recursion() function to repeat the statement.
DeleteVisit our more C Programming articles :)