answersLogoWhite

0

void infinte (long l)

{

printf ("I will never stop #%ld\n", l);

infinte (l+1);

}

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is the difference between function and recursive function?

I will explain in the easiest way the difference between the function and recursive function in C language. Simple Answer is argument of the function is differ but in the recursive function it is same:) Explanation: Function int function(int,int)// function declaration main() { int n; ...... ...... n=function(a,b); } int function(int c,int d) { ...... ...... ...... } recursive Function: int recursive(int,int)// recursive Function declaration main() { int n; ..... ..... ..... ..... n=recursive(a,b); } int recursive(int a,int b) { ..... .... .... .... } Carefully see, In the recursive Function the function arguments are same.


Can you use main function as a recursive function in C?

Yes


What is self referential function in c plus plus?

A self-referential function in C++, or in any other supporting language, is a recursive function.


Write a C plus plus function that print a triangle of stars?

Write a function that print a triangle of stars.


What is the definition of non recursive in c?

non recursive function is excuted faster than recrussive


Is macro a recursive function?

If you're asking if the c preprocessor supports recursive macros, the answer is no. The preprocessor is single-pass and since the "function" must be defined before it can be referenced, it can not be recursive.


Can you have the program in C plus plus for recursive function generating a series of terms?

Yes, this can be done. For example for Fibonacci series. You will find plenty of examples if you google for the types of series you need to be generated.


How do you write a programm in c plus plus without using function main?

I don't think its possible. Every C++ program must at least have the main function.


How can write the name in c plus plus language without using cout statement?

I believe, you can use C-function - printf().


Write a c program to find GCD of two given integers by using both recursive n non recursive functions?

i love u darling


What are the building function in c plus plus?

There is no such term as "building function" in C++.


What function that call themselves are called to c programme?

Functions in C language may call themselves (ie can be recursive) without restrictions.