Saved Bookmarks
| 1. |
Which of these is not a correct statement?(a) A recursive method must have a base case(b) Recursion always uses stack(c) Recursion is always managed by C# Runtime environment(d) Recursive methods are faster that programmer written loop to call the function repeatedly using a stackI got this question during an interview for a job.My query is from Recursion topic in portion Object Oriented Concepts of C# |
|
Answer» CORRECT choice is (C) Recursion is always managed by C# Runtime environment Explanation: No matter whatever is the PROGRAMMING language recursion is always managed by the OPERATING system. |
|