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
What is object in oop with example?
What is abstraction in oop with example?
What is variable example?
Why is object oriented programming so hard?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
Get me a number puzzle game-program
what are the realtime excercises in C++?
What is the difference between a constructor and a destructor?
Why multiple inheritance is not allowed?
Explain virtual inheritance?
Are polymorphisms mutations?
Why do we use encapsulation in oops?
What are the components of marker interface?
What is the significance of classes in oop?
Write a program to reverse a string using recursive function?