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
Combinations of fibanocci prime series
Why do we need functions in c?
How can I discover how many arguments a function was actually called with?
Is sizeof a keyword in c?
What is the meaning of 2d in c?
What is file in c language?
What is wrong in this statement?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
How can I delete a file?
what is the format specifier for printing a pointer value?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
What is 1d array in c?
Is multithreading possible in c?
Where are c variables stored in memory?
What is the use of clrscr?