Which feature allows open recursion, among the following?

Which feature allows open recursion, among the following?
A. Use of this pointer
B. Use of pointers

C. Use of pass by value
D. Use of parameterized constructor

ANSWER: A) Use of this pointer
Explanation : this pointer is used to call own data and methods of an object whenever needed. This helps us call the members of an object recursively, and differentiate the variables of different scopes.

Leave a Comment