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 pop and oop?

609


What does no cap mean?

592


Get me an image implementation program.

1559


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

3847


What are different oops concepts?

578






Can static class have constructor?

587


What is encapsulation c#?

601


Why we use classes in oop?

584


What is the difference between a mixin and inheritance?

524


What are the 3 pillars of oop?

617


What is the difference between encapsulation and polymorphism?

598


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).

1645


What is the difference between abstraction and polymorphism?

619


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


Why is abstraction needed?

568