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

How can you link a c program with a c function?

0 Answers  


What is dev c++ used for?

0 Answers  


What are the comments in c++?

0 Answers  


Write a program to calculate the BMI of a person using the formula BMI = weight/height2.

2 Answers  


Explain binary search.

0 Answers  


Which one of the following describes characteristics of "protected" inheritance? a) The base class has access only to the public or protected members of the derived class. b) The derived class has non-public, inheritable, access to all but the private members of the base class. c) The derived class has access to all members of the base class. d) The private members of the base class are visible within the derived class. e) Public members of the derived class are privately accessible from the base class.

4 Answers   Quark,


Can I have a reference as a data member of a class? If yes, then how do I initialise it?

0 Answers  


What is a syntax in c++?

0 Answers  


what is Loop function? What are different types of Loops?

0 Answers  


Why do we use classes in c++?

0 Answers  


Are strings immutable in c++?

0 Answers  


If a header file is included twice by mistake in the program, will it give any error?

0 Answers  


Categories