⟩ Explain void free (void* ptr)?
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.
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.
Tell me what is a class?
Explain me are you allowed to have a static const member function?
Please explain what is difference between shallow copy and deep copy? Which is default?
Explain me what do you mean by C++ access specifiers?
Tell me which compiler switch to be used for compiling the programs using math library with g++ compiler?
Tell us does C++ supports exception handling? If so what are the keywords involved in achieving the same?
Tell me when you should use virtual inheritance?
Explain me what do you mean by translation unit in c++?
Tell us in how many ways we can initialize an int variable in C++?
What is a storage class in C++?