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


Please Help Members By Posting Answers For Below Questions

What is difference between oop and pop?

606


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4227


What are benefits of oop?

625


What does enum stand for?

605


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.

1445






What is persistence in oop?

655


Why is object oriented programming so hard?

605


Can main method override?

576


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.

617


Why is polymorphism used?

573


What is overriding vs overloading?

573


What is multilevel inheritance in oop?

547


What is overloading in oops?

587


What does I oop mean?

607


What is the use of oops?

610