Saved Bookmarks
| 1. |
When Should We Use The Recursion Function? Mention What Happens When Recursion Functions Are Declared Inline? |
|
Answer» Recursion function should be USED when we are aware of the number of recursive CALLS is not excessive. Inline FUNCTIONS property SAYS whenever it will call, it will copy the full definition of the function. Recursive functions declared as inline, creates the burden for the compiler's execution. Recursion function should be used when we are aware of the number of recursive calls is not excessive. Inline functions property says whenever it will call, it will copy the full definition of the function. Recursive functions declared as inline, creates the burden for the compiler's execution. |
|