1.

What is Recursion in CSharp defined as?(a) Recursion is another form of class(b) Recursion is another process of defining a method that calls other methods repeatedly(c) Recursion is a process of defining a method that calls itself repeatedly(d) Recursion is a process of defining a method that calls other methods which in turn calls this methodThis question was posed to me in an online interview.My question is from Recursion topic in division Object Oriented Concepts of C#

Answer» RIGHT answer is (c) Recursion is a process of defining a method that CALLS itself repeatedly

Best explanation: Recursion is the process of defining something in terms of itself. It allows us to define method that calls itself repeatedly until it MEETS some BASE case condition.


Discussion

No Comment Found

Related InterviewSolutions