What is recursion?
Answers were Sorted based on User's Feedback
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 |
Answer / nashiinformaticssolutions
Recursion occurs when a function calls itself directly or indirectly.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
Recursion occurs when a function calls itself directly or indirectly.
Is This Answer Correct ? | 0 Yes | 0 No |
Recursion occurs when a function calls itself directly or indirectly.
Is This Answer Correct ? | 0 Yes | 0 No |
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 |
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 |
How can you link a c program with a c function?
What is dev c++ used for?
What are the comments in c++?
Write a program to calculate the BMI of a person using the formula BMI = weight/height2.
Explain binary search.
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.
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
What is a syntax in c++?
what is Loop function? What are different types of Loops?
Why do we use classes in c++?
Are strings immutable in c++?
If a header file is included twice by mistake in the program, will it give any error?