Answer Posted / fathimath fahima j
free :
#include <cstdlib>
Void free (void *ptr);
Free() function returns the memory
Pointed to by ptr to the heap.
Realloc :
#include<cstdlib>
Void *realloc(void *ptr,size_t size);
The realloc function changes the size of
the previously allocated memory pointed to by ptr to dat specified by size.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can static class have constructor?
What is interface in oop?
What is object in oop with example?
What are the two different types of polymorphism?
What is a null tree?
Can we create object of abstract class?
Write a c++ program to display pass and fail for three student using static member function
What is variable example?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What causes polymorphism?
What are constructors in oop?
What is the full form of oops?
What is the difference between abstraction and polymorphism?
What are the 3 principles of oop?
What is purpose of inheritance?