C Programming - Functions - Discussion
Discussion Forum : Functions - True / False Questions (Q.No. 4)
4.
In C all functions except main() can be called recursively.
Answer: Option
Explanation:
Any function including main() can be called recursively.
Discussion:
7 comments Page 1 of 1.
Ajeet kumar said:
1 decade ago
Please explain anybody in more detail with the help of example
Shalini said:
1 decade ago
What does recursion mean?
Manishsoni said:
1 decade ago
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.
main()
{
main();
}
It create infinite loop because main call itself so it is called recursion function.
Vinod thete said:
1 decade ago
It is not except to call recursivly main.
Raghvendra singh rajawat said:
1 decade ago
main() can also be called recursively because it also a kind of function.
Velliyangiri said:
6 years ago
Yes, main is also a recursive function.
Japneet Singh said:
5 years ago
Can predefined functions be called recursively? Please explain.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers