C++ Programmer Question:
Download Questions PDF

Explain void free (void* ptr)?

Answer:

This function is used to deallocate a block of memory that was allocated using malloc(), calloc() or realloc(). If ptr is null, this function does not doe anything.

Download C++ Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me what is an Object/Instance?Tell me how to create a pure virtual function?