Answer Posted / alka
free()is a macro used to deallocate memory.
when we need more memory realoc() reallocate memory
according to given size, if there is no memory 4
alocation ,it will free previous allocated memory &
allocate new one using malloc().
ex: int *p = realloc(p,sizeof(p)*2);
| Is This Answer Correct ? | 15 Yes | 6 No |
Post New Answer View All Answers
can we make game by using c
How can you overcome the diamond problem in inheritance?
• What are the desirable attributes for memory managment?
What does and I oop mean?
Prepare me a program for the animation of train
can inline function declare in private part of class?
what is the sylabus for priliminaries?
What are the types of abstraction?
What are the components of marker interface?
how to get the oracle certification? send me the answer
What is difference between abstraction and encapsulation?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What is the oops and benefits of oops programming?
What are the two different types of polymorphism?
How oops is better than procedural?