C Programming - Functions - Discussion

4. 

In C all functions except main() can be called recursively.

[A]. True
[B]. False

Answer: Option B

Explanation:

Any function including main() can be called recursively.

Ajeet Kumar said: (Jun 3, 2011)  
Please explain anybody in more detail with the help of example

Shalini said: (Aug 2, 2011)  
What does recursion mean?

Manishsoni said: (Sep 25, 2011)  
Recursion: a function call it self is call recursion function;

main()
{
main();
}

It create infinite loop because main call itself so it is called recursion function.

Vinod Thete said: (Dec 15, 2011)  
It is not except to call recursivly main.

Raghvendra Singh Rajawat said: (Sep 10, 2013)  
main() can also be called recursively because it also a kind of function.

Velliyangiri said: (Mar 26, 2019)  
Yes, main is also a recursive function.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.