Home / C Programming / Functions :: Discussion

Discussion :: Functions

  1. Usually recursion works slower than loops.

  2. A.
    Yes
    B.
    No

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    When a recursive call is made, the function/process clones itself and then process that funtion. This leads to time and space constrains.

    In a loop, there is no recursive call involved that saves a lot of time and space too.


Be The First To Comment