what is the main difference between c and c++?
Answer Posted / k.r.sukumar
The main difference between c and c++ is that " C is a
structured programming language while C++ is an object
programming language and also we have templates in C++ that
is not the case in C
Is This Answer Correct ? | 946 Yes | 139 No |
Post New Answer View All Answers
What is difference between oop and pop?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What are benefits of oop?
What does enum stand for?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is persistence in oop?
Why is object oriented programming so hard?
Can main method override?
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.
Why is polymorphism used?
What is overriding vs overloading?
What is multilevel inheritance in oop?
What is overloading in oops?
What does I oop mean?
What is the use of oops?