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

Answer Posted / venkatrao

c is procedural programming language while c++ is object oriented language.The main difference is in c++ having reusability and security(because it is object oriented) while
c does not.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to hide the base class functionality in Inheritance?

640


Can we override main method?

609


Why is abstraction used?

612


Why do we use class?

637


What are objects in oop?

610






What are the data types in oop?

608


Why do we use oops?

593


What is abstraction in oops with example?

778


What is advantage of inheritance?

692


What is abstraction encapsulation?

661


Why polymorphism is used in oops?

585


What are oops methods?

568


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

1671


What is encapsulation example?

551


What is abstraction example?

624