What is recursion?

Answers were Sorted based on User's Feedback



What is recursion?..

Answer / nashiinformaticssolutions

A function that calls itself in response to a terminating condition is said to be recursive.
Because it employs LIFO, the stack data structure is used.

Is This Answer Correct ?    0 Yes 0 No

What is recursion?..

Answer / nashiinformaticssolutions

Recursion occurs when a function calls itself directly or indirectly.

Is This Answer Correct ?    0 Yes 0 No

What is recursion?..

Answer / glibwaresoftsolutions

Recursion occurs when a function calls itself directly or indirectly.

Is This Answer Correct ?    0 Yes 0 No

What is recursion?..

Answer / hr@tgksolutions.com

Recursion occurs when a function calls itself directly or indirectly.

Is This Answer Correct ?    0 Yes 0 No

What is recursion?..

Answer / glibwaresoftsolutions

A function that calls itself in response to a terminating condition is said to be recursive.
Because it employs LIFO, the stack data structure is used.

Is This Answer Correct ?    0 Yes 0 No

What is recursion?..

Answer / hr@tgksolutions.com

A function that calls itself in response to a terminating condition is said to be recursive.
Because it employs LIFO, the stack data structure is used.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Which software is best for coding?

0 Answers  


Write a single instruction that will find the remainder of integral division when x is divided by y. Have the answer stored in z.

1 Answers  


When you overload member functions, in what ways must they differ?

0 Answers  


Why is "using namespace std;" considered bad practice?

0 Answers  


What is the difference between Char a[ ]=”string” and char *a=”String”

11 Answers   Adobe,


What is a stack c++?

0 Answers  


What do you mean by abstraction in C++?

1 Answers  


Is c++ low level?

0 Answers  


What is the purpose of ios::basefield in the following statement?

0 Answers  


Give 2 examples of a code optimization?

4 Answers  


Who was the creator of c++?

0 Answers  


class X { private: int a; protected: X(){cout<<"X constructor was called"<<endl;} ~X(){cout<<"X destructor was called"<<endl} }; Referring to the code above, which one of the following statements regarding "X" is TRUE? a) X is an abstract class. b) Only subclasses of X may create X objects. c) Instances of X cannot be created. d) X objects can only be created using the default copy constructor. e) Only friends can create instances of X objects.

2 Answers   Quark,


Categories