What should be keep precautions while using the recursion
method?
Answer / 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 |
Write a program to find the number of times that a given word(i.e. a short string) occurs in a sentence (i.e. a long string!). Read data from standard input. The first line is a single word, which is followed by general text on the second line. Read both up to a newline character, and insert a terminating null before processing. Typical output should be: The word is "the". The sentence is "the cat sat on the mat". The word occurs 2 times.
What are the loops in c?
Explain the use of fflush() function?
WHAT IS FLOAT?
What is a string?
difference between string and array?
What is the difference between procedural and functional programming?
i have a written test for microland please give me test pattern
ATM machine and railway reservation class/object diagram
Is using exit() the same as using return?
how to set Nth bit of a variable?
What is structure in c definition?