Yes
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.
non recursive function is excuted faster than recrussive
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.
Because if you donot use main function in c program, the compiler willnot execute the program.C compiler starts execution from main function itself.
The main function defines the entry point of an application in C.
Functions in C language may call themselves (ie can be recursive) without restrictions.
To return the exp. or const to the main fumction.
in c main function initailly called by operating system.
if you do not used main function in c program when errors are accrued
A self-referential function in C++, or in any other supporting language, is a recursive function.
To return the exp. or const to the main fumction.
A main function must be present in every C program.