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 |
How to access a variable of the structure?
Which is best c++ or java?
please help to write the code of chess game in c++??????????
What is a memory leak c++?
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
What is compilation?
What is code reusability in c++?
Explain terminate() function?
Specify some guidelines that should be followed while overloading operators?
Comment on assignment operator in c++.
Disadvantages of c++
Explain what happens when a pointer is deleted twice?