what is the main difference between c and c++?
Answer Posted / abhishek gautam
C is a procedural programming language whereas C++ is an
object oriented programming language
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is encapsulation oop?
what's the basic's in dot net
Why polymorphism is used in oops?
What is abstraction in oops with example?
What are the types of abstraction?
What is polymorphism in oops with example?
How do you achieve polymorphism?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is polymorphism explain its types?
What is encapsulation in oops?
What is meant by multiple inheritance?
Why do we use oops?
What is abstraction example?
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 encapsulation with example?