Home »
MCQs »
Perl Programming MCQs
What is recursion in Perl?
66. What is recursion in Perl?
- Mechanism of a function calling itself again from its body
- Looping over function with different values
- Calling overloaded function
- All of these
Answer: A) Mechanism of a function calling itself again from its body
Explanation:
Recursion is a mechanism of a function calling itself again from its body.