what isthe difference between c structure and c++ class
Answer Posted / jeremiah
The default scope of a C struct is public, whearas the
default scope of a C++ class is private.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is object and example?
Why is oop useful?
What do you mean by variable?
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.
Where You Can Use Interface in your Project
How can you overcome the diamond problem in inheritance?
What is encapsulation and abstraction? How are they implemented in C++?
What is the difference between procedural programming and oops?
What is an example of genetic polymorphism?
What is balance factor?
What is solid in oops?
What is oops and its features?
What is overriding in oop?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
How do you use inheritance in unity?