what is the main difference between c and c++?
Answer Posted / nmreddy
c is procedure oriented language c++ is object oriented language
c and c++ not secured data
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is difference between inheritance and polymorphism?
What are the types of abstraction?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is inheritance in simple words?
What is polymorphism and its types?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
Which language is not a true object oriented programming language?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
Why do we use inheritance?
What do you mean by Encapsulation?
Can abstract class have normal methods?
What is object-oriented programming? Webopedia definition
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 is a function in oop?