Answer Posted / jayasrinivas.donavalli
realloc() can be use to reallocation of the memory if the
memory already created is insufficient,
but free can be used to destroy the memory which was
already created
| Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
What are the important components of cohesion?
What language is oop?
What are constructors in oop?
What is polymorphism used for?
What is polymorphism oop?
How to use CMutex, CSemaphore in VC++ MFC
Write a c++ program to display pass and fail for three student using static member function
Why is destructor used?
write a C++ program for booking using constructor and destructor.
How do you achieve polymorphism?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
Get me a number puzzle game-program
What are functions in oop?
What is basic concept of oop?
How to hide the base class functionality in Inheritance?