UrbanPro
true

Learn C Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Recursion in C Programming

R
Ravindra Yadav
11/04/2017 0 0

The process of calling a function by itself is called recursion and the function which calls itself is called recursive function.

Syntax of Recursive Function
returntype recursive_func ([argument list])
{
    statements;
    ... ... ...
    recursive_func ([actual argument]);
    ... ... ...
}

Example:- C Program to show infinite recursive function
#include

int main()
{
    printf("Hello world");
    main();
    return 0;
}
0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

Design Pattern
Prototype Design Pattern: Ø Prototype pattern refers to creating duplicate object while keeping performance in mind. Ø This pattern involves implementing a prototype interface which tells...


Current and voltage distribution
a) A current flowing in a wire of a length related to the RF produces an electromagnetic field. This field radiates from the wire and is set free in space. The principles of radiation of electromagnetic...

Some Tricky Questions in C
Can you write two functions in which one executes before main function and other executes after the main function? #pragma startup #pragma exit Where, priority is optional integer value.For user priority...

Mechanical Engineering Capsules.
1. Reversible adiabatic process is always Isentropic but the reverse is not always true. 2. Stress is a second order tensor quantity. 3. Steels have higher melting point than cast irons i.e. why they...

Looking for C Language Classes?

Learn from Best Tutors on UrbanPro.

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for C Language Classes?

The best tutors for C Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C Language with the Best Tutors

The best Tutors for C Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more