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
What are the 5 types of organizational structures?
What is the use of f in c?
Write a program to generate random numbers in c?
Explain void pointer?
How can I convert a number to a string?
What are logical errors and how does it differ from syntax errors?
What is the difference between the local variable and global variable in c?
How to get string length of given string in c?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
Can you please compare array with pointer?
What is the symbol indicated the c-preprocessor?
What are loops c?
What is difference between array and structure in c?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
Explain what is a pragma?