EmbLogic's Blog

Plz any one give ans

Which is/are the type/s of memory allocation that needs/need the programmer to take
care of memory management?

1. Static memory allocation //true  or false

2. Dynamic memory allocation //true  or false

3. Automatic memory allocation //true  or false

4. Memory allocation on stack //true  or false

5. Memory allocation on heap //true  or false

One Response to Plz any one give ans

  1. vaibhav says:

    it is as simple as tht…..u pass the argument 5 to the fun and then it decrease the value of i till it not become zero and in every decrement it call function and first printf statement was executed by each function when value of i reaches to value 1 (because condition is 1 > 0) then fron last funtion call to first function call it just executed the second print statement and prints the current value of i as u shown in your output …ok

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>