what is the main difference between c and c++?

Answer Posted / uma

c++ support operator overloading but
c doesn't support operator overloading..

Is This Answer Correct ?    594 Yes 103 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oops in simple words?

585


Can you inherit a private class?

633


Why it is called runtime polymorphism?

577


What is inheritance in oop?

604


What is polymorphism in oops with example?

533






what are the ways in which a constructors can be called?

1584


What is overloading in oop?

577


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

1944


What is overriding in oop?

550


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.

632


What is advantage of inheritance?

692


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

1653


What is difference between polymorphism and inheritance?

618


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

1795


What is abstraction oop?

625