what is the main difference between c and c++?
Answer Posted / srinivas
by using c++,we can increase program efficiency and easily
trace the program.by using the classes and objects we can
easily access the variables.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do you achieve polymorphism?
Plese get me a perfect C++ program for railway/airway reservation with all details.
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 are the ways in which a constructors can be called?
What are the benefits of interface?
What is static in oop?
why reinterpret cast is considered dangerous?
What are constructors in oop?
#include
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is the difference between a constructor and a destructor?
How is class defined?
What is difference between pop and oop?
What is byval and byref? What are differences between them?
What is an advantage of polymorphism?