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

Answer Posted / shailesh bahuguna(kec)

basically c does not support the object oriented features
that means we cannot relate the real world entities together
which can be expressed through C++ which is the extention of
c with OOPs concepts
there are many syntactic differences as well in c and c++.
C++ can be viewed as the revolution in the field of object
oriented programming paridigm.

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation process?

575


What is the main feature of oop?

618


Is abstract thinking intelligence?

592


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1636


what type of question are asked in thoughtworks pair programming round ?

1756






What is difference between polymorphism and inheritance?

617


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.

626


What is persistence in oop?

669


What does no cap mean?

590


Why do we use encapsulation in oops?

518


What is the example of polymorphism?

554


What does I oop mean?

613


What is overriding vs overloading?

580


What are the 3 principles of oop?

614


What is oops and its features?

582