what isthe difference between c structure and c++ class
Answer Posted / amarnath
Construtor is not in c strut and present in c++ class
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What are the advantages of polymorphism?
What are two types of polymorphism?
What is variable example?
What does enum stand for?
can we make game by using c
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is overloading in oops?
Can you explain polymorphism?
Is abstract thinking intelligence?
What is encapsulation with example?
What is the difference between a mixin and inheritance?
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.
Why do pointers exist?
Is react oop?
Whats is abstraction in oops?