top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What are the limitation to use recursive function?

+4 votes
What are the limitation to use recursive function?
posted Nov 24, 2013 by sivanraj

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Depends on the condition, function is selected. A recursive function is a function that calls itself during its execution. This enables the function to repeat itself several times, outputting the result and the end of each iteration. Recursive function leads to stack overflow. A normal function is a part of a program designed to accomplish one specific task. A function prototype is primarily a tool used to define a function that will exist later in code. Its primary purpose is to provide an outline in source code as to what the functions contained in the source file will do

answer Nov 25, 2013 by Giri Prasad
Similar Questions
+5 votes

Say I have a function which is written in recursive way which is costly way of doing the things. Now I want to convert the recursive function into iterative one. Is there a standard approach which can be applied to all the functions..

+6 votes

For example: It returns ‘b’ when the input is “abaccdeff”.

+5 votes

What is structure padding and how it is used at processor level?

+2 votes

Guys can someone help me by describing the skip-list and why someone should use it over BST.

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.