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

Answer Posted / vinod

C++ support the exception handling while c does not support exception handling feature. c++ is a superset of c i.e. c++ can run most of c code while c can not run c++ code.
Data hiding future are not present in the c language while data hiding future are present in the c++ language this is oop future.
we can call the (Function) method throw the object in the c++, while in c object are not used.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is for loop and its syntax?

598


What is protected in oop?

604


Are polymorphisms mutations?

703


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2038


How to call a non virtual function in the derived class by using base class pointer

5278






What is an example of genetic polymorphism?

651


What is difference between polymorphism and inheritance?

618


What are the 3 principles of oop?

619


What is oops and why we use oops?

573


What is difference between class and object with example?

564


What does and I oop and sksksk mean?

654


What is encapsulation in oop?

609


What is the example of polymorphism?

562


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1659


How to hide the base class functionality in Inheritance?

640