| 1. |
When function calls itself, it is known as ______.
|
||||||||
|
Answer:
Option (a) |
| 2. |
Recursion is a process in which a function calls
|
||||||||
|
Answer:
Option (a) |
| 3. |
A recursive function can be replaced with __ in C
|
||||||||
|
Answer:
Option (d) |
| 4. |
A recursive function is faster than __ loop
|
||||||||
|
Answer:
Option (d) |
| 5. |
A recursive function without if and else conditions will always lead to?
|
||||||||
|
Answer:
Option (b) |
| 6. |
What is the C keyword that must be used to get the expected result using Recursion?
|
||||||||
|
Answer:
Option (d) |
| 7. |
Recursion is similar to which of the following?
|
||||||||
|
Answer:
Option (b) |
| 8. |
How many functions are required to create a recursive functionality?
|
||||||||
|
Answer:
Option (a) |
| 9. |
What is the output?
int sum(int);
|
||||||||
|
Answer:
Option (a) |
| 10. |
What is the output?
int mul(int);
|
||||||||
|
Answer:
Option (c) |