Answer Posted / sathish kumar
Hi All,
If you use alloca inside a function when it retuns from
function it will be resulting in memory leak. Thats why
its discouraged to use.
Thanks & Regards
Sathish Kumar
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
Do you know null pointer?
How can you draw circles in C?
difference between Low, Middle, High Level languages in c ?
What is the difference between text and binary i/o?
What does %d do in c?
What is difference between constant pointer and constant variable?
Who developed c language?
difference between object file and executable file
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
What does p mean in physics?
What are the disadvantages of external storage class?
What are the key features in c programming language?
What is optimization in c?
Do you know the difference between malloc() and calloc() function?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon