What should be keep precautions while using the recursion
method?

Answer Posted / harshal shah

Ans: 1)There should not be any uninitialized pointer.
2)Always allocated memory should be deallocate at
the end of recusion function or object.
3)Alwas declare one End point condition.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is uses of .net

1268


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

774


What are the advantages of using macro in c language?

585


Give basis knowledge of web designing ...

1569


What is the difference between test design and test case design?

1564






How do we print only part of a string in c?

579


what are the advantages of a macro over a function?

639


Can an array be an Ivalue?

657


What are the advantages of the functions?

601


Explain Function Pointer?

681


Who developed c language?

635


Hi can anyone tell what is a start up code?

1609


Tell me what are bitwise shift operators?

651


PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

1464


What is the difference between variable declaration and variable definition in c?

562