What is recursion in Perl?

66. What is recursion in Perl?

  1. Mechanism of a function calling itself again from its body
  2. Looping over function with different values
  3. Calling overloaded function
  4. 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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.