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 |
Which software is best for coding?
Write a c++ code that will calculate the roots of a quadratic equation a2+ bx+c=0 Hint: d = sqrt (b2-4ac), and the roots are: x1 = (€“b + d)/2a and x2 = (€“b €“ d)/2a (use sqrt function from cmath.h )?
What is singleton pattern in c++?
Are iterators pointers?
What is searching? Explain linear and binary search.
the first character in the variable name must be an a) special symbol b) number c) alphabet
Define a way other than using the keyword inline to make a function inline?
What is a constant reference?
What is the best sorting algorithm, when there is a large amount of data, that cannot be fit in the main memory. ?
What is the best book for c++ beginners?
Is c++ a high level language?
How do you clear a map in c++?