What are the advantages and disadvantages of recursive function.


Advantages:
  • Easier understanding
  • Writing compact code
  • Easier coding
  • Using recursively defined data structure like trees
Disadvantages:

  • Recursive function executes slowly
  • Additional storage space is required
  •  A stack is needed to process 

0 Comment "What are the advantages and disadvantages of recursive function."

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

Loading...
இணைந்திருங்கள் 24 நேரமும்!! Like us on Facebook!)