what is the main difference between c and c++?
Answer Posted / d.narmadha
c does not support the concept of inheritance but c++support
ineritance.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is abstraction encapsulation?
What is coupling in oop?
What is and I oop mean?
What is oops in simple words?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
Plese get me a perfect C++ program for railway/airway reservation with all details.
class type to basic type conversion
can we make game by using c
write string class as your own class in java without using any built-in function
What is abstraction in oops?
What is ambiguity in inheritance?
Which type does string inherit from?
What does <> mean pseudocode?
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 difference between polymorphism and inheritance?