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
Write a program to reverse a string using recursive function?
What is property in oops?
can inline function declare in private part of class?
Why multiple inheritance is not allowed?
write a C++ program for booking using constructor and destructor.
What is the full form of oops?
What is the main feature of oop?
What makes a language oop?
What is encapsulation in ict?
What is destructor example?
What does it mean when someone says I oop?
What is polymorphism what is it for and how is it used?
What is a class in oop?
Are polymorphisms mutations?
What is abstract class in oop?