Answer Posted / devi
In C the malloc is used to allocate the memory space
In C++ the new operator is used to allocate the memory space
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is abstract class in oop?
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.
What are the 4 pillars of oop?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
Why oops is important?
What are the two different types of polymorphism?
Why do we use class in oops?
What does sksksk mean in text slang?
What is object-oriented programming? Webopedia definition
Can we create object of interface?
What is a class and object?
What is oops and why we use oops?
What is the fundamental idea of oop?
What does and I oop mean in text?