what is the main difference between c and c++?
Answer Posted / sagar dubey
in C++ language we are having the properties of encapsulation,polymorphism,data abstraction and inheritance which is not in the language C..
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is encapsulation in simple terms?
Explain the advantages of inheritance.
What is class in oop with example?
What is abstraction in oops with example?
Why interface is used?
What is polymorphism and why is it important?
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 are two types of polymorphism?
what is the sylabus for priliminaries?
What is destructor example?
what are the realtime excercises in C++?
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 is object and example?
What does it mean when someone says I oop?
can inline function declare in private part of class?