What is realloc() and free()? What is difference between them?
The free subroutine frees a block of memory previously allocated by the malloc subroutine. The realloc () function is used to allocate memory and has the following prototype: void * realloc (void * ptr, unsigned int num);
| Is This Answer Correct ? | 0 Yes | 0 No |
What is anonymous object in c++?
What is a virtual destructor?
What is the best way to declare and define global variables?
What is lambda in c++?
What is rtti in c++?
Is main a class in c++?
Is it possible to use a new for the reallocation of pointers ?
What is switch case in c++ syntax?
What is a singleton class c++?
What are the classes in c++?
What is Name Decoration?
Differentiate between a deep copy and a shallow copy?